forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update LB and PIP with new global load balancing properties (Azure#10529
) * updading LB and PIP with new properties necessary for global loadbalancing as well as new appropriate examples * Ran prettier and fixed syntax in loadbalancer.json * added 07/01 tags to python readme
- Loading branch information
Showing
5 changed files
with
376 additions
and
12 deletions.
There are no files selected for viewing
314 changes: 314 additions & 0 deletions
314
...ce-manager/Microsoft.Network/stable/2020-07-01/examples/LoadBalancerCreateGlobalTier.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,314 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"loadBalancerName": "lb", | ||
"parameters": { | ||
"location": "eastus", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "Global" | ||
}, | ||
"properties": { | ||
"frontendIPConfigurations": [ | ||
{ | ||
"name": "fe-lb", | ||
"properties": { | ||
"subnet": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" | ||
} | ||
} | ||
} | ||
], | ||
"backendAddressPools": [ | ||
{ | ||
"name": "be-lb", | ||
"properties": { | ||
"loadBalancerBackendAddresses": [ | ||
{ | ||
"name": "regional-lb1-address", | ||
"properties": { | ||
"loadBalancerFrontendIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"loadBalancingRules": [ | ||
{ | ||
"name": "rulelb", | ||
"properties": { | ||
"frontendIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" | ||
}, | ||
"frontendPort": 80, | ||
"backendPort": 80, | ||
"enableFloatingIP": false, | ||
"idleTimeoutInMinutes": 15, | ||
"protocol": "Tcp", | ||
"loadDistribution": "Default", | ||
"backendAddressPool": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" | ||
}, | ||
"probe": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" | ||
} | ||
} | ||
} | ||
], | ||
"probes": [ | ||
{ | ||
"name": "probe-lb", | ||
"properties": { | ||
"protocol": "Http", | ||
"port": 80, | ||
"requestPath": "healthcheck.aspx", | ||
"intervalInSeconds": 15, | ||
"numberOfProbes": 2 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "lb", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", | ||
"type": "Microsoft.Network/loadBalancers", | ||
"etag": "W/\"00000000-0000-0000-0000-00000000\"", | ||
"location": "eastus", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "Global" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"resourceGuid": "00000000-0000-0000-0000-00000000", | ||
"frontendIPConfigurations": [ | ||
{ | ||
"name": "fe-lb", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", | ||
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", | ||
"etag": "W/\"00000000-0000-0000-0000-00000000\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateIPAddress": "10.0.1.4", | ||
"privateIPAllocationMethod": "Dynamic", | ||
"subnet": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" | ||
}, | ||
"loadBalancingRules": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" | ||
} | ||
], | ||
"inboundNatRules": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"backendAddressPools": [ | ||
{ | ||
"name": "be-lb", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", | ||
"type": "Microsoft.Network/loadBalancers/backendAddressPools", | ||
"etag": "W/\"00000000-0000-0000-0000-00000000\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"loadBalancerBackendAddresses": [ | ||
{ | ||
"name": "regional-lb1-address", | ||
"properties": { | ||
"loadBalancerFrontendIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb" | ||
} | ||
} | ||
} | ||
], | ||
"loadBalancingRules": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"loadBalancingRules": [ | ||
{ | ||
"name": "rulelb", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", | ||
"type": "Microsoft.Network/loadBalancers/loadBalancingRules", | ||
"etag": "W/\"00000000-0000-0000-0000-00000000\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"frontendIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" | ||
}, | ||
"frontendPort": 80, | ||
"backendPort": 80, | ||
"enableFloatingIP": false, | ||
"idleTimeoutInMinutes": 15, | ||
"protocol": "Tcp", | ||
"loadDistribution": "Default", | ||
"backendAddressPool": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" | ||
}, | ||
"probe": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" | ||
}, | ||
"disableOutboundSnat": false | ||
} | ||
} | ||
], | ||
"probes": [ | ||
{ | ||
"name": "probe-lb", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", | ||
"type": "Microsoft.Network/loadBalancers/probes", | ||
"etag": "W/\"00000000-0000-0000-0000-00000000\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"protocol": "Http", | ||
"port": 80, | ||
"requestPath": "healthcheck.aspx", | ||
"intervalInSeconds": 15, | ||
"numberOfProbes": 2, | ||
"loadBalancingRules": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "lb", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", | ||
"type": "Microsoft.Network/loadBalancers", | ||
"etag": "W/\"00000000-0000-0000-0000-00000000\"", | ||
"location": "eastus", | ||
"sku": { | ||
"name": "Standard", | ||
"tier": "Global" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"resourceGuid": "00000000-0000-0000-0000-00000000", | ||
"frontendIPConfigurations": [ | ||
{ | ||
"name": "fe-lb", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", | ||
"type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", | ||
"etag": "W/\"00000000-0000-0000-0000-00000000\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateIPAddress": "10.0.1.4", | ||
"privateIPAllocationMethod": "Dynamic", | ||
"subnet": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" | ||
}, | ||
"loadBalancingRules": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" | ||
} | ||
], | ||
"inboundNatRules": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"backendAddressPools": [ | ||
{ | ||
"name": "be-lb", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", | ||
"type": "Microsoft.Network/loadBalancers/backendAddressPools", | ||
"etag": "W/\"00000000-0000-0000-0000-00000000\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"loadBalancerBackendAddresses": [ | ||
{ | ||
"name": "regional-lb1-address", | ||
"properties": { | ||
"loadBalancerFrontendIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb" | ||
} | ||
} | ||
} | ||
], | ||
"loadBalancingRules": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"loadBalancingRules": [ | ||
{ | ||
"name": "rulelb", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", | ||
"type": "Microsoft.Network/loadBalancers/loadBalancingRules", | ||
"etag": "W/\"00000000-0000-0000-0000-00000000\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"frontendIPConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" | ||
}, | ||
"frontendPort": 80, | ||
"backendPort": 80, | ||
"enableFloatingIP": false, | ||
"idleTimeoutInMinutes": 15, | ||
"protocol": "Tcp", | ||
"loadDistribution": "Default", | ||
"backendAddressPool": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" | ||
}, | ||
"probe": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" | ||
}, | ||
"disableOutboundSnat": false | ||
} | ||
} | ||
], | ||
"probes": [ | ||
{ | ||
"name": "probe-lb", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", | ||
"type": "Microsoft.Network/loadBalancers/probes", | ||
"etag": "W/\"00000000-0000-0000-0000-00000000\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"protocol": "Http", | ||
"port": 80, | ||
"requestPath": "healthcheck.aspx", | ||
"intervalInSeconds": 15, | ||
"numberOfProbes": 2, | ||
"loadBalancingRules": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.