From 23e124bac845b8f53a4e038029973b27b28b4728 Mon Sep 17 00:00:00 2001 From: Bashar Gharaibeh Date: Fri, 11 Jun 2021 14:51:29 -0700 Subject: [PATCH 1/4] Fix public IP sku name and Tier property names --- .../Microsoft.Compute/stable/2021-03-01/compute.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/compute.json index 5cfd2ded350b..ec29f2041c7b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/compute.json @@ -10397,7 +10397,7 @@ }, "PublicIPAddressSku": { "properties": { - "publicIPAddressSkuName": { + "name": { "type": "string", "description": "Specify public IP sku name", "enum": [ @@ -10409,7 +10409,7 @@ "modelAsString": true } }, - "publicIPAddressSkuTier": { + "tier": { "type": "string", "description": "Specify public IP sku tier", "enum": [ @@ -10423,7 +10423,7 @@ } }, "required": [ - "publicIPAddressSkuName" + "name" ], "description": "Describes the public IP Sku" }, From 7a1904998c31bf1d17ef3c24868bc1a5c3caa629 Mon Sep 17 00:00:00 2001 From: Bashar Gharaibeh Date: Fri, 11 Jun 2021 14:56:55 -0700 Subject: [PATCH 2/4] remove required property to match NRP swagger spec --- .../Microsoft.Compute/stable/2021-03-01/compute.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/compute.json index ec29f2041c7b..e9a85e7e67c7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/compute.json @@ -10422,9 +10422,6 @@ } } }, - "required": [ - "name" - ], "description": "Describes the public IP Sku" }, "VirtualMachinePublicIPAddressConfiguration": { From 09148cad073bee6906e6a3bb00b80061ad4c9b95 Mon Sep 17 00:00:00 2001 From: Bashar Gharaibeh Date: Wed, 16 Jun 2021 10:27:02 -0700 Subject: [PATCH 3/4] update example file --- .../examples/CreateAVmWithNetworkInterfaceConfiguration.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateAVmWithNetworkInterfaceConfiguration.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateAVmWithNetworkInterfaceConfiguration.json index 75cb4f765ab2..088045553d1a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateAVmWithNetworkInterfaceConfiguration.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateAVmWithNetworkInterfaceConfiguration.json @@ -42,8 +42,8 @@ "publicIPAddressConfiguration": { "name": "{publicIP-config-name}", "sku": { - "publicIPAddressSkuName": "Basic", - "publicIPAddressSkuTier": "Global" + "name": "Basic", + "tier": "Global" }, "properties": { "deleteOption": "Detach", From c659a4a15830c158ed7e1256e5e991b8625971a5 Mon Sep 17 00:00:00 2001 From: Bashar Gharaibeh Date: Fri, 16 Jul 2021 09:47:17 -0700 Subject: [PATCH 4/4] update zoneBalance help message --- .../Microsoft.Compute/stable/2021-04-01/compute.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-04-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-04-01/compute.json index 126b9c48767a..ac0926c1a19c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2021-04-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2021-04-01/compute.json @@ -13487,7 +13487,7 @@ }, "zoneBalance": { "type": "boolean", - "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage." + "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set." }, "platformFaultDomainCount": { "type": "integer",