From 23e124bac845b8f53a4e038029973b27b28b4728 Mon Sep 17 00:00:00 2001 From: Bashar Gharaibeh Date: Fri, 11 Jun 2021 14:51:29 -0700 Subject: [PATCH 1/3] 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/3] 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/3] 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",