Skip to content

Commit f0f6627

Browse files
bashargBashar Gharaibeh
authored andcommitted
Fix PublicIP Sku property names (Azure#14782)
* Fix public IP sku name and Tier property names * remove required property to match NRP swagger spec * update example file Co-authored-by: Bashar Gharaibeh <[email protected]>
1 parent 8ee4b1d commit f0f6627

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/compute.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10397,7 +10397,7 @@
1039710397
},
1039810398
"PublicIPAddressSku": {
1039910399
"properties": {
10400-
"publicIPAddressSkuName": {
10400+
"name": {
1040110401
"type": "string",
1040210402
"description": "Specify public IP sku name",
1040310403
"enum": [
@@ -10409,7 +10409,7 @@
1040910409
"modelAsString": true
1041010410
}
1041110411
},
10412-
"publicIPAddressSkuTier": {
10412+
"tier": {
1041310413
"type": "string",
1041410414
"description": "Specify public IP sku tier",
1041510415
"enum": [
@@ -10422,9 +10422,6 @@
1042210422
}
1042310423
}
1042410424
},
10425-
"required": [
10426-
"publicIPAddressSkuName"
10427-
],
1042810425
"description": "Describes the public IP Sku"
1042910426
},
1043010427
"VirtualMachinePublicIPAddressConfiguration": {

specification/compute/resource-manager/Microsoft.Compute/stable/2021-03-01/examples/CreateAVmWithNetworkInterfaceConfiguration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"publicIPAddressConfiguration": {
4343
"name": "{publicIP-config-name}",
4444
"sku": {
45-
"publicIPAddressSkuName": "Basic",
46-
"publicIPAddressSkuTier": "Global"
45+
"name": "Basic",
46+
"tier": "Global"
4747
},
4848
"properties": {
4949
"deleteOption": "Detach",

0 commit comments

Comments
 (0)