Skip to content

Commit

Permalink
Fix PublicIP Sku property names (Azure#14782)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
2 people authored and Andrew Sager committed Jun 24, 2021
1 parent 8ee4b1d commit f0f6627
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10397,7 +10397,7 @@
},
"PublicIPAddressSku": {
"properties": {
"publicIPAddressSkuName": {
"name": {
"type": "string",
"description": "Specify public IP sku name",
"enum": [
Expand All @@ -10409,7 +10409,7 @@
"modelAsString": true
}
},
"publicIPAddressSkuTier": {
"tier": {
"type": "string",
"description": "Specify public IP sku tier",
"enum": [
Expand All @@ -10422,9 +10422,6 @@
}
}
},
"required": [
"publicIPAddressSkuName"
],
"description": "Describes the public IP Sku"
},
"VirtualMachinePublicIPAddressConfiguration": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"publicIPAddressConfiguration": {
"name": "{publicIP-config-name}",
"sku": {
"publicIPAddressSkuName": "Basic",
"publicIPAddressSkuTier": "Global"
"name": "Basic",
"tier": "Global"
},
"properties": {
"deleteOption": "Detach",
Expand Down

0 comments on commit f0f6627

Please sign in to comment.