From f5fb71085c6846fd5d11b59a57381a5fcfd36840 Mon Sep 17 00:00:00 2001 From: guptas14 <71726901+guptas14@users.noreply.github.com> Date: Wed, 12 May 2021 20:42:42 -0700 Subject: [PATCH] fixed network resources, updates from previous version (#14217) --- .../stable/2020-11-01/networkInterface.json | 38 ++++++++++++++++++- .../stable/2020-11-01/privateEndpoint.json | 4 ++ .../stable/2020-11-01/publicIpAddress.json | 27 +++++++++++++ .../stable/2020-11-01/publicIpPrefix.json | 4 ++ .../stable/2020-11-01/serviceTags.json | 5 +++ .../stable/2020-11-01/virtualNetwork.json | 32 ++++++++++++++++ 6 files changed, 109 insertions(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/networkInterface.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/networkInterface.json index e21708d2a0a8..2ce2cb575e97 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/networkInterface.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/networkInterface.json @@ -1035,6 +1035,10 @@ "readOnly": true, "type": "string", "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Resource type." } }, "allOf": [ @@ -1153,6 +1157,37 @@ "readOnly": true, "$ref": "./network.json#/definitions/ProvisioningState", "description": "The provisioning state of the network interface resource." + }, + "nicType": { + "type": "string", + "description": "Type of Network Interface resource.", + "enum": [ + "Standard", + "Elastic" + ], + "x-ms-enum": { + "name": "NetworkInterfaceNicType", + "modelAsString": true + } + }, + "privateLinkService": { + "$ref": "./privateLinkService.json#/definitions/PrivateLinkService", + "description": "Privatelinkservice of the network interface resource." + }, + "migrationPhase": { + "type": "string", + "description": "Migration phase of Network Interface resource.", + "enum": [ + "None", + "Prepare", + "Commit", + "Abort", + "Committed" + ], + "x-ms-enum": { + "name": "NetworkInterfaceMigrationPhase", + "modelAsString": true + } } }, "description": "NetworkInterface properties." @@ -1485,7 +1520,8 @@ }, "privateIPAllocationMethod": { "$ref": "./network.json#/definitions/IPAllocationMethod", - "description": "The private IP address allocation method." + "description": "The private IP address allocation method.", + "default": "Dynamic" }, "subnet": { "$ref": "./virtualNetwork.json#/definitions/Subnet", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/privateEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/privateEndpoint.json index 3b7a0dc8b6e5..bdb6e1715ff7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/privateEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/privateEndpoint.json @@ -854,6 +854,10 @@ "resourceName": { "type": "string", "description": "The name of the service and resource." + }, + "displayName": { + "type": "string", + "description": "Display name of the resource." } }, "description": "The information of an AvailablePrivateEndpointType." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/publicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/publicIpAddress.json index 223e127aaae4..d2c571cb4881 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/publicIpAddress.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/publicIpAddress.json @@ -444,6 +444,33 @@ "readOnly": true, "$ref": "./network.json#/definitions/ProvisioningState", "description": "The provisioning state of the public IP address resource." + }, + "servicePublicIPAddress": { + "$ref": "#/definitions/PublicIPAddress", + "description": "The service public IP address of the public IP address resource." + }, + "natGateway": { + "$ref": "./natGateway.json#/definitions/NatGateway", + "description": "The NatGateway for the Public IP address." + }, + "migrationPhase": { + "type": "string", + "description": "Migration phase of Public IP Address.", + "enum": [ + "None", + "Prepare", + "Commit", + "Abort", + "Committed" + ], + "x-ms-enum": { + "name": "PublicIPAddressMigrationPhase", + "modelAsString": true + } + }, + "linkedPublicIPAddress": { + "$ref": "#/definitions/PublicIPAddress", + "description": "The linked public IP address of the public IP address resource." } }, "description": "Public IP address properties." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/publicIpPrefix.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/publicIpPrefix.json index 9fa1ee69261b..b0742172ceb9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/publicIpPrefix.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/publicIpPrefix.json @@ -437,6 +437,10 @@ "readOnly": true, "$ref": "./network.json#/definitions/ProvisioningState", "description": "The provisioning state of the public IP prefix resource." + }, + "natGateway": { + "$ref": "./natGateway.json#/definitions/NatGateway", + "description": "NatGateway of Public IP Prefix." } }, "description": "Public IP prefix properties." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/serviceTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/serviceTags.json index 85345313947d..10d787cdbc97 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/serviceTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/serviceTags.json @@ -163,6 +163,11 @@ }, "readOnly": true, "description": "The list of IP address prefixes." + }, + "state": { + "type": "string", + "readOnly": true, + "description": "The state of the service tag." } }, "description": "Properties of the service tag information." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/virtualNetwork.json index 85c09c939d6b..6b1673fd34b0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-11-01/virtualNetwork.json @@ -1382,6 +1382,10 @@ "readOnly": true, "type": "string", "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Resource type." } }, "allOf": [ @@ -1519,6 +1523,13 @@ "name": "VirtualNetworkPrivateLinkServiceNetworkPolicies", "modelAsString": true } + }, + "applicationGatewayIpConfigurations": { + "type": "array", + "items": { + "$ref": "./applicationGateway.json#/definitions/ApplicationGatewayIPConfiguration" + }, + "description": "Application gateway IP configurations of virtual network resource." } }, "description": "Properties of the subnet." @@ -1592,6 +1603,15 @@ "readOnly": true, "$ref": "./network.json#/definitions/ProvisioningState", "description": "The provisioning state of the virtual network peering resource." + }, + "doNotVerifyRemoteGateways": { + "type": "boolean", + "description": "If we need to verify the provisioning state of the remote gateway." + }, + "resourceGuid": { + "readOnly": true, + "type": "string", + "description": "The resourceGuid property of the Virtual Network peering resource." } }, "description": "Properties of the virtual network peering." @@ -1611,6 +1631,10 @@ "readOnly": true, "type": "string", "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Resource type." } }, "allOf": [ @@ -1635,6 +1659,10 @@ "readOnly": true, "type": "string", "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "type": "string", + "description": "Resource type." } }, "allOf": [ @@ -1867,6 +1895,10 @@ "type": "string" }, "description": "Contains other available private IP addresses if the asked for address is taken." + }, + "isPlatformReserved": { + "type": "boolean", + "description": "Private IP address platform reserved." } }, "description": "Response for CheckIPAddressAvailability API service call."