diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/examples/LBBackendAddressPoolWithBackendAddressesPutWithNICIPConfiguration.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/examples/LBBackendAddressPoolWithBackendAddressesPutWithNICIPConfiguration.json deleted file mode 100644 index a4adbda522a1..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/examples/LBBackendAddressPoolWithBackendAddressesPutWithNICIPConfiguration.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "loadBalancerName": "lb", - "backendAddressPoolName": "backend", - "api-version": "2020-04-01", - "parameters": { - "properties": { - "loadBalancerBackendAddresses": [ - { - "name": "address1", - "properties": { - "networkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/vnetlb/ipConfigurations/ipconfig1" - } - } - }, - { - "name": "address2", - "properties": { - "networkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/vnetlb/ipConfigurations/ipconfig2" - } - } - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "name": "backend", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/loadBalancers/backendAddressPools", - "properties": { - "provisioningState": "Succeeded", - "loadBalancerBackendAddresses": [ - { - "name": "address1", - "properties": { - "networkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/vnetlb/ipConfigurations/ipconfig1" - } - } - }, - { - "name": "address2", - "properties": { - "networkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/vnetlb/ipConfigurations/ipconfig2" - } - } - } - ] - } - } - }, - "201": { - "body": { - "name": "backend", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/loadBalancers/backendAddressPools", - "properties": { - "provisioningState": "Succeeded", - "loadBalancerBackendAddresses": [ - { - "name": "address1", - "properties": { - "networkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/vnetlb/ipConfigurations/ipconfig1" - } - } - }, - { - "name": "address2", - "properties": { - "networkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/vnetlb/ipConfigurations/ipconfig2" - } - } - } - ] - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/loadBalancer.json index 1fc7d526fa52..01905101e2e3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/loadBalancer.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/loadBalancer.json @@ -549,9 +549,6 @@ "x-ms-examples": { "Update load balancer backend pool with backend addresses containing virtual network and IP address.": { "$ref": "./examples/LBBackendAddressPoolWithBackendAddressesPut.json" - }, - "Update load balancer backend pool with backend addresses containing virtual network and IP address defined in network interfaces.": { - "$ref": "./examples/LBBackendAddressPoolWithBackendAddressesPutWithNICIPConfiguration.json" } }, "x-ms-long-running-operation": true, @@ -1495,7 +1492,7 @@ "LoadBalancerBackendAddressPropertiesFormat": { "properties": { "virtualNetwork": { - "$ref": "./virtualNetwork.json#/definitions/VirtualNetwork", + "$ref": "./network.json#/definitions/SubResource", "description": "Reference to an existing virtual network." }, "ipAddress": { @@ -1504,7 +1501,8 @@ "x-ms-azure-resource": false }, "networkInterfaceIPConfiguration": { - "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration", + "readOnly": true, + "$ref": "./network.json#/definitions/SubResource", "description": "Reference to IP address defined in network interfaces." } }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/examples/LBBackendAddressPoolWithBackendAddressesPutWithNICIPConfiguration.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/examples/LBBackendAddressPoolWithBackendAddressesPutWithNICIPConfiguration.json deleted file mode 100644 index eadf70581c3e..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/examples/LBBackendAddressPoolWithBackendAddressesPutWithNICIPConfiguration.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "loadBalancerName": "lb", - "backendAddressPoolName": "backend", - "api-version": "2020-05-01", - "parameters": { - "properties": { - "loadBalancerBackendAddresses": [ - { - "name": "address1", - "properties": { - "networkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/vnetlb/ipConfigurations/ipconfig1" - } - } - }, - { - "name": "address2", - "properties": { - "networkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/vnetlb/ipConfigurations/ipconfig2" - } - } - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "name": "backend", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/loadBalancers/backendAddressPools", - "properties": { - "provisioningState": "Succeeded", - "loadBalancerBackendAddresses": [ - { - "name": "address1", - "properties": { - "networkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/vnetlb/ipConfigurations/ipconfig1" - } - } - }, - { - "name": "address2", - "properties": { - "networkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/vnetlb/ipConfigurations/ipconfig2" - } - } - } - ] - } - } - }, - "201": { - "body": { - "name": "backend", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", - "etag": "W/\"00000000-0000-0000-0000-000000000000\"", - "type": "Microsoft.Network/loadBalancers/backendAddressPools", - "properties": { - "provisioningState": "Succeeded", - "loadBalancerBackendAddresses": [ - { - "name": "address1", - "properties": { - "networkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/vnetlb/ipConfigurations/ipconfig1" - } - } - }, - { - "name": "address2", - "properties": { - "networkInterfaceIPConfiguration": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/vnetlb/ipConfigurations/ipconfig2" - } - } - } - ] - } - } - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/loadBalancer.json index 20ae268b140c..956b50a92d18 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/loadBalancer.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/loadBalancer.json @@ -549,9 +549,6 @@ "x-ms-examples": { "Update load balancer backend pool with backend addresses containing virtual network and IP address.": { "$ref": "./examples/LBBackendAddressPoolWithBackendAddressesPut.json" - }, - "Update load balancer backend pool with backend addresses containing virtual network and IP address defined in network interfaces.": { - "$ref": "./examples/LBBackendAddressPoolWithBackendAddressesPutWithNICIPConfiguration.json" } }, "x-ms-long-running-operation": true, @@ -1495,7 +1492,7 @@ "LoadBalancerBackendAddressPropertiesFormat": { "properties": { "virtualNetwork": { - "$ref": "./virtualNetwork.json#/definitions/VirtualNetwork", + "$ref": "./network.json#/definitions/SubResource", "description": "Reference to an existing virtual network." }, "ipAddress": { @@ -1504,7 +1501,8 @@ "x-ms-azure-resource": false }, "networkInterfaceIPConfiguration": { - "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration", + "readOnly": true, + "$ref": "./network.json#/definitions/SubResource", "description": "Reference to IP address defined in network interfaces." } },