Skip to content

Commit

Permalink
Fix PublicIP Sku property names (#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
basharg and Bashar Gharaibeh authored Jun 21, 2021
1 parent 2273610 commit d920475
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 d920475

Please sign in to comment.