Skip to content

Commit

Permalink
changes to add publicIpAddressVersion field (#7173)
Browse files Browse the repository at this point in the history
  • Loading branch information
sm947 authored and hyonholee committed Sep 10, 2019
1 parent 83662bf commit 1307bde
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8404,6 +8404,18 @@
"publicIPPrefix": {
"$ref": "#/definitions/SubResource",
"description": "The PublicIPPrefix from which to allocate publicIP addresses."
},
"publicIPAddressVersion": {
"type": "string",
"description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
"enum": [
"IPv4",
"IPv6"
],
"x-ms-enum": {
"name": "IPVersion",
"modelAsString": true
}
}
},
"description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@
"subnet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
},
"publicipaddressconfiguration": {
"name": "{vmss-name}",
"properties": {
"publicIpAddressVersion": "IPv4"
}
},
"loadBalancerInboundNatPools": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/inboundNatPools/{existing-nat-pool-name}"
Expand Down

0 comments on commit 1307bde

Please sign in to comment.