-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding zones, example and renaming frontendIPConfigurations to fronte…
…ndIpConfigurations, LoadBalancerFrontendIPConfiguration to LoadBalancerFrontendIpConfiguration, LoadBalancerFrontendIPConfigurationProperties to LoadBalancerFrontendIpConfigurationProperties
- Loading branch information
1 parent
5594dbe
commit b50a71e
Showing
10 changed files
with
211 additions
and
22 deletions.
There are no files selected for viewing
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
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
182 changes: 182 additions & 0 deletions
182
...loudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.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,182 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "ConstosoRG", | ||
"cloudServiceName": "{cs-name}", | ||
"api-version": "2022-09-04", | ||
"parameters": { | ||
"properties": { | ||
"networkProfile": { | ||
"loadBalancerConfigurations": [ | ||
{ | ||
"properties": { | ||
"frontendIpConfigurations": [ | ||
{ | ||
"properties": { | ||
"publicIPAddress": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" | ||
} | ||
}, | ||
"name": "contosofe" | ||
} | ||
] | ||
}, | ||
"name": "contosolb" | ||
} | ||
] | ||
}, | ||
"roleProfile": { | ||
"roles": [ | ||
{ | ||
"sku": { | ||
"name": "Standard_D1_v2", | ||
"capacity": 1, | ||
"tier": "Standard" | ||
}, | ||
"name": "ContosoFrontend" | ||
}, | ||
{ | ||
"sku": { | ||
"name": "Standard_D1_v2", | ||
"capacity": 1, | ||
"tier": "Standard" | ||
}, | ||
"name": "ContosoBackend" | ||
} | ||
] | ||
}, | ||
"configuration": "{ServiceConfiguration}", | ||
"packageUrl": "{PackageUrl}", | ||
"upgradeMode": "Auto" | ||
}, | ||
"location": "westus", | ||
"zones": ["1"] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "{cs-name}", | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Compute/cloudServices/{cs-name}", | ||
"type": "Microsoft.Compute/cloudServices", | ||
"location": "westus", | ||
"properties": { | ||
"configuration": "{ServiceConfiguration}", | ||
"packageUrl": "{PackageUrl}", | ||
"upgradeMode": "Auto", | ||
"roleProfile": { | ||
"roles": [ | ||
{ | ||
"name": "ContosoFrontend", | ||
"sku": { | ||
"name": "Standard_D1_v2", | ||
"tier": "Standard", | ||
"capacity": 1 | ||
} | ||
}, | ||
{ | ||
"name": "ContosoBackend", | ||
"sku": { | ||
"name": "Standard_D1_v2", | ||
"tier": "Standard", | ||
"capacity": 1 | ||
} | ||
} | ||
] | ||
}, | ||
"osProfile": { | ||
"secrets": [] | ||
}, | ||
"networkProfile": { | ||
"loadBalancerConfigurations": [ | ||
{ | ||
"name": "contosolb", | ||
"properties": { | ||
"frontendIpConfigurations": [ | ||
{ | ||
"name": "contosofe", | ||
"properties": { | ||
"publicIPAddress": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
"provisioningState": "Updating", | ||
"uniqueId": "7f3edf91-cb34-4a3e-971a-177dc3dd43cb" | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedAt": "2020-01-01T17:18:19.1234567Z" | ||
}, | ||
"zones": ["1"] | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "{cs-name}", | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Compute/cloudServices/{cs-name}", | ||
"type": "Microsoft.Compute/cloudServices", | ||
"location": "westus", | ||
"properties": { | ||
"configuration": "{ServiceConfiguration}", | ||
"packageUrl": "{PackageUrl}", | ||
"upgradeMode": "Auto", | ||
"roleProfile": { | ||
"roles": [ | ||
{ | ||
"name": "ContosoFrontend", | ||
"sku": { | ||
"name": "Standard_D1_v2", | ||
"tier": "Standard", | ||
"capacity": 1 | ||
} | ||
}, | ||
{ | ||
"name": "ContosoBackend", | ||
"sku": { | ||
"name": "Standard_D1_v2", | ||
"tier": "Standard", | ||
"capacity": 1 | ||
} | ||
} | ||
] | ||
}, | ||
"osProfile": { | ||
"secrets": [] | ||
}, | ||
"networkProfile": { | ||
"loadBalancerConfigurations": [ | ||
{ | ||
"name": "contosolb", | ||
"properties": { | ||
"frontendIpConfigurations": [ | ||
{ | ||
"name": "contosofe", | ||
"properties": { | ||
"publicIPAddress": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/ConstosoRG/providers/Microsoft.Network/publicIPAddresses/contosopublicip" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
"provisioningState": "Creating", | ||
"uniqueId": "7f3edf91-cb34-4a3e-971a-177dc3dd43cb" | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedAt": "2020-01-01T17:18:19.1234567Z" | ||
}, | ||
"zones": [ "1" ] | ||
} | ||
} | ||
} | ||
} |
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
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
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
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
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
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
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