From ddb994b0f46d0cf781b086363d28503dfbb5fabb Mon Sep 17 00:00:00 2001 From: Jae Park Date: Thu, 30 May 2019 10:59:49 -0700 Subject: [PATCH 1/6] Add PrivateIPAddressVersion in LoadBalancerFrontendIpConfiguration properties. --- .../examples/LoadBalancerFrontendIPConfigurationGet.json | 1 + .../Microsoft.Network/stable/2019-04-01/loadBalancer.json | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerFrontendIPConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerFrontendIPConfigurationGet.json index 7c75bb39ce97..d4ed8bc0f803 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerFrontendIPConfigurationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerFrontendIPConfigurationGet.json @@ -16,6 +16,7 @@ "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", "subnet": { "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/loadBalancer.json index 0e6e2b032cac..ba4e1397ca89 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/loadBalancer.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/loadBalancer.json @@ -1159,6 +1159,10 @@ "$ref": "./network.json#/definitions/IPAllocationMethod", "description": "The Private IP allocation method." }, + "privateIPAddressVersion": { + "$ref": "./network.json#/definitions/IPVersion", + "description": "Available from Api-Version 2019-04-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4." + }, "subnet": { "$ref": "./virtualNetwork.json#/definitions/Subnet", "description": "The reference of the subnet resource." From e8146a133ee2c3a01a7882cccc07253ce90c3693 Mon Sep 17 00:00:00 2001 From: Evgeny Agafonchikov Date: Mon, 3 Jun 2019 11:30:50 +0300 Subject: [PATCH 2/6] Fixed LB examples --- .../examples/LoadBalancerCreate.json | 27 +++---------------- .../LoadBalancerCreateStandardSku.json | 27 +++---------------- .../examples/LoadBalancerCreateWithZones.json | 27 +++---------------- 3 files changed, 9 insertions(+), 72 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreate.json index ba3c07134984..5cd987c2aab6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -70,12 +54,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateStandardSku.json index 41693f9382c2..03e72114c137 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateWithZones.json index ca1a5f3c255b..e0f2f62ef01d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], From d85acdf2a27273779db97140981e6a960472ca5e Mon Sep 17 00:00:00 2001 From: Evgeny Agafonchikov Date: Mon, 3 Jun 2019 11:37:31 +0300 Subject: [PATCH 3/6] Fix examples in 2019-06-01 --- .../examples/LoadBalancerCreate.json | 27 +++---------------- .../LoadBalancerCreateStandardSku.json | 27 +++---------------- .../examples/LoadBalancerCreateWithZones.json | 27 +++---------------- 3 files changed, 9 insertions(+), 72 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreate.json index c884271a8fb0..aeeb3fee708b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreate.json @@ -13,30 +13,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -70,12 +54,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateStandardSku.json index fa3fcaf83f37..9dee17aa41a0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateStandardSku.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateStandardSku.json @@ -16,30 +16,14 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } } } ], "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithZones.json index 6b0e299fbaab..b207bad97f89 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithZones.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithZones.json @@ -13,17 +13,7 @@ "properties": { "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" - }, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ], - "inboundNatRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" - } - ] + } }, "zones": [ "1" @@ -33,13 +23,7 @@ "backendAddressPools": [ { "name": "be-lb", - "properties": { - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] - } + "properties": {} } ], "loadBalancingRules": [ @@ -72,12 +56,7 @@ "port": 80, "requestPath": "healthcheck.aspx", "intervalInSeconds": 15, - "numberOfProbes": 2, - "loadBalancingRules": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" - } - ] + "numberOfProbes": 2 } } ], From b1ffae086cf9fc2608a4a549cf1044815e85d981 Mon Sep 17 00:00:00 2001 From: Jae Park Date: Mon, 3 Jun 2019 10:16:17 -0700 Subject: [PATCH 4/6] Remove API version number in privateIPAddressVersion description. --- .../Microsoft.Network/stable/2019-04-01/loadBalancer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/loadBalancer.json index ba4e1397ca89..d12d17d06e45 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/loadBalancer.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/loadBalancer.json @@ -1161,7 +1161,7 @@ }, "privateIPAddressVersion": { "$ref": "./network.json#/definitions/IPVersion", - "description": "Available from Api-Version 2019-04-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4." + "description": "It represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4." }, "subnet": { "$ref": "./virtualNetwork.json#/definitions/Subnet", From 5706c9485fb8fb0c81a63824972396f75aade1fd Mon Sep 17 00:00:00 2001 From: Jae Park Date: Mon, 3 Jun 2019 10:30:35 -0700 Subject: [PATCH 5/6] Add privateIPAddressVersion in LoadBalancer examples. --- .../examples/LoadBalancerFrontendIPConfigurationList.json | 1 + .../stable/2019-04-01/examples/LoadBalancerGet.json | 1 + .../stable/2019-04-01/examples/LoadBalancerList.json | 1 + .../stable/2019-04-01/examples/LoadBalancerListAll.json | 1 + 4 files changed, 4 insertions(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerFrontendIPConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerFrontendIPConfigurationList.json index 9865fcc2ab52..30843b5a68c1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerFrontendIPConfigurationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerFrontendIPConfigurationList.json @@ -17,6 +17,7 @@ "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", "subnet": { "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerGet.json index f99142d688a3..a12712cb9bce 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerGet.json @@ -25,6 +25,7 @@ "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerList.json index d8b41840cc21..1f646659aebe 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerList.json @@ -23,6 +23,7 @@ "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerListAll.json index 8398a08c26ae..565a1be10d3e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/LoadBalancerListAll.json @@ -22,6 +22,7 @@ "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" }, From bc73fb7edcda3033bab224505847517d5a97878b Mon Sep 17 00:00:00 2001 From: Jae Park Date: Mon, 3 Jun 2019 10:32:28 -0700 Subject: [PATCH 6/6] Add privateIPAddressVersion in 2019-06-01 API version. --- .../examples/LoadBalancerFrontendIPConfigurationGet.json | 1 + .../examples/LoadBalancerFrontendIPConfigurationList.json | 1 + .../stable/2019-06-01/examples/LoadBalancerGet.json | 1 + .../stable/2019-06-01/examples/LoadBalancerList.json | 1 + .../stable/2019-06-01/examples/LoadBalancerListAll.json | 1 + .../Microsoft.Network/stable/2019-06-01/loadBalancer.json | 4 ++++ 6 files changed, 9 insertions(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationGet.json index 450bcad577f6..6ae8b0890ee8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationGet.json @@ -16,6 +16,7 @@ "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", "subnet": { "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationList.json index 6bf8349eba52..595a5f40412c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationList.json @@ -17,6 +17,7 @@ "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", "subnet": { "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerGet.json index e0b5fe8f740f..439791c6bf87 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerGet.json @@ -25,6 +25,7 @@ "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerList.json index b812d866de9f..e59d29ea035a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerList.json @@ -23,6 +23,7 @@ "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerListAll.json index f400f496c4b3..0aa2e29fbaa0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerListAll.json @@ -22,6 +22,7 @@ "provisioningState": "Succeeded", "privateIPAddress": "10.0.1.4", "privateIPAllocationMethod": "Dynamic", + "privateIPAddressVersion": "IPv4", "subnet": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/loadBalancer.json index 2582495f4ff4..e85c5c148b37 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/loadBalancer.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/loadBalancer.json @@ -1159,6 +1159,10 @@ "$ref": "./network.json#/definitions/IPAllocationMethod", "description": "The Private IP allocation method." }, + "privateIPAddressVersion": { + "$ref": "./network.json#/definitions/IPVersion", + "description": "It represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4." + }, "subnet": { "$ref": "./virtualNetwork.json#/definitions/Subnet", "description": "The reference of the subnet resource."