From 26d185ab17cc5bf7acd497533fd91a6da953628a Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Thu, 31 Mar 2022 00:28:35 +0530 Subject: [PATCH 01/40] Update expressRouteCrossConnection.json --- .../stable/2021-08-01/expressRouteCrossConnection.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteCrossConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteCrossConnection.json index d01bf513da64..abeb21b74142 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteCrossConnection.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteCrossConnection.json @@ -3,7 +3,7 @@ "info": { "title": "ExpressRouteCrossConnection REST APIs", "description": "The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer's ExpressRoute circuit.", - "version": "2021-08-01" + "version": "2021-05-01" }, "host": "management.azure.com", "schemes": [ @@ -799,12 +799,10 @@ "ExpressRouteCrossConnectionProperties": { "properties": { "primaryAzurePort": { - "readOnly": true, "type": "string", "description": "The name of the primary port." }, "secondaryAzurePort": { - "readOnly": true, "type": "string", "description": "The name of the secondary port." }, From e003b3d9e16e8b825e2e40ddc5d74b8993a2a011 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Thu, 31 Mar 2022 00:31:34 +0530 Subject: [PATCH 02/40] Update expressRouteCrossConnection.json --- .../stable/2021-08-01/expressRouteCrossConnection.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteCrossConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteCrossConnection.json index abeb21b74142..4cf9fcaab998 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteCrossConnection.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteCrossConnection.json @@ -3,7 +3,7 @@ "info": { "title": "ExpressRouteCrossConnection REST APIs", "description": "The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer's ExpressRoute circuit.", - "version": "2021-05-01" + "version": "2021-08-01" }, "host": "management.azure.com", "schemes": [ From 8603f6a444f409316afa27f12acc597a53ea4378 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Thu, 31 Mar 2022 00:39:04 +0530 Subject: [PATCH 03/40] Create expressRouteProviderPort.json --- .../stable/expressRouteProviderPort.json | 239 ++++++++++++++++++ 1 file changed, 239 insertions(+) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/expressRouteProviderPort.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/expressRouteProviderPort.json new file mode 100644 index 000000000000..18f564ead0ea --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/expressRouteProviderPort.json @@ -0,0 +1,239 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2020-03-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { + "get": { + "tags": [ + "ExpressRouteProviderPorts" + ], + "operationId": "ExpressRouteProviderPorts_List", + "description": "Retrieves all the ExpressRouteProviderPorts in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteProviderPort resources. If there are no ports for the provider, an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteProviderPortListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteProviderPortList": { + "$ref": "./examples/ExpressRouteProviderPortList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { + "get": { + "tags": [ + "ExpressRouteProviderPorts" + ], + "operationId": "ExpressRouteProviderPortsLocation_List", + "description": "Retrieves all the ExpressRouteProviderPorts in a subscription for a particular location.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the requested ExpressRoutePort peering location." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteProviderPort resources at a location. If there are no ports for the provider, an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteProviderPortListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteProviderPortList": { + "$ref": "./examples/ExpressRouteProviderPortLocationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}": { + "get": { + "tags": [ + "ExpressRouteProviderPorts" + ], + "operationId": "ExpressRouteProviderPort", + "description": "Retrieves detail of a provider port.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ProviderPortParameter" + }, + ], + "responses": { + "200": { + "description": "Request successful. The operation returns detail of individual provider port resources. If there is no port, an empty result is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteProviderPort" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteProviderPort": { + "$ref": "./examples/ExpressRouteProviderPort.json" + } + } + } + }, + }, + "definitions": { + "ExpressRouteProviderPortProperties": { + "properties": { + "portPairDescriptor": { + "readOnly": true, + "type": "string", + "description": "The name of the port pair." + }, + "primaryAzurePort": { + "readOnly": true, + "type": "string", + "description": "The name of the primary port." + }, + "secondaryAzurePort": { + "readOnly": true, + "type": "string", + "description": "The name of the secondary port." + }, + "peeringLocation": { + "type": "string", + "description": "The peering location of the port pair." + }, + "overprovisionFactor": { + "type": "integer", + "format": "int32", + "description": "Overprovisioning factor for the port pair." + }, + "portBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Bandwidth of the port in Mbps" + }, + "usedBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Used Bandwidth of the port in Mbps" + }, + "remainingBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Remaining Bandwidth of the port in Mbps" + } + }, + "description": "Properties of ExpressRouteProviderPort." + }, + "ExpressRouteProviderPort": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteProviderPortProperties", + "description": "Properties of the express route Service Provider Port." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "ExpressRouteProviderPort resource." + }, + "ExpressRouteProviderPortListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteProviderPort" + }, + "description": "A list of ExpressRouteProviderPort resources." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListExpressRouteProviderPort API service call." + } + } +} From 9a1cafaf6099978ad5ee8e5eee9054d3638adb5b Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Thu, 31 Mar 2022 00:40:25 +0530 Subject: [PATCH 04/40] Create expressRouteProviderPort.json --- .../2021-08-01/expressRouteProviderPort.json | 239 ++++++++++++++++++ 1 file changed, 239 insertions(+) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json new file mode 100644 index 000000000000..18f564ead0ea --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json @@ -0,0 +1,239 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2020-03-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { + "get": { + "tags": [ + "ExpressRouteProviderPorts" + ], + "operationId": "ExpressRouteProviderPorts_List", + "description": "Retrieves all the ExpressRouteProviderPorts in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteProviderPort resources. If there are no ports for the provider, an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteProviderPortListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteProviderPortList": { + "$ref": "./examples/ExpressRouteProviderPortList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { + "get": { + "tags": [ + "ExpressRouteProviderPorts" + ], + "operationId": "ExpressRouteProviderPortsLocation_List", + "description": "Retrieves all the ExpressRouteProviderPorts in a subscription for a particular location.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the requested ExpressRoutePort peering location." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteProviderPort resources at a location. If there are no ports for the provider, an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteProviderPortListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteProviderPortList": { + "$ref": "./examples/ExpressRouteProviderPortLocationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}": { + "get": { + "tags": [ + "ExpressRouteProviderPorts" + ], + "operationId": "ExpressRouteProviderPort", + "description": "Retrieves detail of a provider port.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ProviderPortParameter" + }, + ], + "responses": { + "200": { + "description": "Request successful. The operation returns detail of individual provider port resources. If there is no port, an empty result is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteProviderPort" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteProviderPort": { + "$ref": "./examples/ExpressRouteProviderPort.json" + } + } + } + }, + }, + "definitions": { + "ExpressRouteProviderPortProperties": { + "properties": { + "portPairDescriptor": { + "readOnly": true, + "type": "string", + "description": "The name of the port pair." + }, + "primaryAzurePort": { + "readOnly": true, + "type": "string", + "description": "The name of the primary port." + }, + "secondaryAzurePort": { + "readOnly": true, + "type": "string", + "description": "The name of the secondary port." + }, + "peeringLocation": { + "type": "string", + "description": "The peering location of the port pair." + }, + "overprovisionFactor": { + "type": "integer", + "format": "int32", + "description": "Overprovisioning factor for the port pair." + }, + "portBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Bandwidth of the port in Mbps" + }, + "usedBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Used Bandwidth of the port in Mbps" + }, + "remainingBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Remaining Bandwidth of the port in Mbps" + } + }, + "description": "Properties of ExpressRouteProviderPort." + }, + "ExpressRouteProviderPort": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteProviderPortProperties", + "description": "Properties of the express route Service Provider Port." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "ExpressRouteProviderPort resource." + }, + "ExpressRouteProviderPortListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteProviderPort" + }, + "description": "A list of ExpressRouteProviderPort resources." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListExpressRouteProviderPort API service call." + } + } +} From f1c6137f188eb921582386985ea36bbf1bcd58ce Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Thu, 31 Mar 2022 00:44:02 +0530 Subject: [PATCH 05/40] Create expressRouteProviderPortList.json --- .../expressRouteProviderPortList.json | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortList.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortList.json new file mode 100644 index 000000000000..2ef970b9f511 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortList.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2020-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "portPairDescriptor": "bvtazureixpportpair1", + "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", + "type": "Microsoft.Network/expressRouteProviderPort", + "location": "uswest", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "properties": { + "portPairDescriptor": "bvtazureixpportpair", + "primaryAzurePort": "bvtazureixp01", + "secondaryAzurePort": "bvtazureixp01", + "peeringLocation": "SiliconValley", + "overprovisionFactor": 4, + "portBandwidthInMbps": 4000, + "usedBandwidthInMbps": 2500, + "remainingBandwidthInMbps": 1500 + } + }, + { + "portPairDescriptor": "bvtazureixpportpair2", + "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair2", + "type": "Microsoft.Network/expressRouteProviderPort", + "location": "uswest", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "properties": { + "portPairDescriptor": "bvtazureixpportpair2", + "primaryAzurePort": "bvtazureixp02", + "secondaryAzurePort": "bvtazureixp02", + "peeringLocation": "seattle", + "overprovisionFactor": 4, + "portBandwidthInMbps": 4000, + "usedBandwidthInMbps": 1200, + "remainingBandwidthInMbps": 1800 + } + } + ] + } + } + } + } + From 2c325490fb5a4d3ce5dc605e0808dbfab84a4230 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Thu, 31 Mar 2022 00:45:07 +0530 Subject: [PATCH 06/40] Create expressRouteProviderPortLocationList.json --- .../expressRouteProviderPortLocationList.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortLocationList.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortLocationList.json new file mode 100644 index 000000000000..ad2b498538e4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortLocationList.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2020-03-01", + "locationName": "SiliconValley", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "portPairDescriptor": "bvtazureixpportpair1", + "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", + "type": "Microsoft.Network/expressRouteProviderPort", + "location": "uswest", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "properties": { + "portPairDescriptor": "bvtazureixpportpair", + "primaryAzurePort": "bvtazureixp01", + "secondaryAzurePort": "bvtazureixp01", + "peeringLocation": "SiliconValley", + "overprovisionFactor": 4, + "portBandwidthInMbps": 4000, + "usedBandwidthInMbps": 2500, + "remainingBandwidthInMbps": 1500 + } + } + ] + } + } + } + } + From 575e44c4155777134ed7fce96e5f57502736aee7 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Thu, 31 Mar 2022 00:45:36 +0530 Subject: [PATCH 07/40] Delete expressRouteProviderPort.json --- .../stable/expressRouteProviderPort.json | 239 ------------------ 1 file changed, 239 deletions(-) delete mode 100644 specification/network/resource-manager/Microsoft.Network/stable/expressRouteProviderPort.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/expressRouteProviderPort.json deleted file mode 100644 index 18f564ead0ea..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/expressRouteProviderPort.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2020-03-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { - "get": { - "tags": [ - "ExpressRouteProviderPorts" - ], - "operationId": "ExpressRouteProviderPorts_List", - "description": "Retrieves all the ExpressRouteProviderPorts in a subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRouteProviderPort resources. If there are no ports for the provider, an empty list is returned.", - "schema": { - "$ref": "#/definitions/ExpressRouteProviderPortListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ExpressRouteProviderPortList": { - "$ref": "./examples/ExpressRouteProviderPortList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { - "get": { - "tags": [ - "ExpressRouteProviderPorts" - ], - "operationId": "ExpressRouteProviderPortsLocation_List", - "description": "Retrieves all the ExpressRouteProviderPorts in a subscription for a particular location.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the requested ExpressRoutePort peering location." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRouteProviderPort resources at a location. If there are no ports for the provider, an empty list is returned.", - "schema": { - "$ref": "#/definitions/ExpressRouteProviderPortListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ExpressRouteProviderPortList": { - "$ref": "./examples/ExpressRouteProviderPortLocationList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}": { - "get": { - "tags": [ - "ExpressRouteProviderPorts" - ], - "operationId": "ExpressRouteProviderPort", - "description": "Retrieves detail of a provider port.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ProviderPortParameter" - }, - ], - "responses": { - "200": { - "description": "Request successful. The operation returns detail of individual provider port resources. If there is no port, an empty result is returned.", - "schema": { - "$ref": "#/definitions/ExpressRouteProviderPort" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ExpressRouteProviderPort": { - "$ref": "./examples/ExpressRouteProviderPort.json" - } - } - } - }, - }, - "definitions": { - "ExpressRouteProviderPortProperties": { - "properties": { - "portPairDescriptor": { - "readOnly": true, - "type": "string", - "description": "The name of the port pair." - }, - "primaryAzurePort": { - "readOnly": true, - "type": "string", - "description": "The name of the primary port." - }, - "secondaryAzurePort": { - "readOnly": true, - "type": "string", - "description": "The name of the secondary port." - }, - "peeringLocation": { - "type": "string", - "description": "The peering location of the port pair." - }, - "overprovisionFactor": { - "type": "integer", - "format": "int32", - "description": "Overprovisioning factor for the port pair." - }, - "portBandwidthInMbps": { - "type": "integer", - "format": "int32", - "description": "Bandwidth of the port in Mbps" - }, - "usedBandwidthInMbps": { - "type": "integer", - "format": "int32", - "description": "Used Bandwidth of the port in Mbps" - }, - "remainingBandwidthInMbps": { - "type": "integer", - "format": "int32", - "description": "Remaining Bandwidth of the port in Mbps" - } - }, - "description": "Properties of ExpressRouteProviderPort." - }, - "ExpressRouteProviderPort": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteProviderPortProperties", - "description": "Properties of the express route Service Provider Port." - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "ExpressRouteProviderPort resource." - }, - "ExpressRouteProviderPortListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteProviderPort" - }, - "description": "A list of ExpressRouteProviderPort resources." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "Response for ListExpressRouteProviderPort API service call." - } - } -} From b6480df4fed1c829ce4bfe29600be615c9212c5b Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 1 Apr 2022 14:11:08 +0530 Subject: [PATCH 08/40] Update expressRouteProviderPort.json --- .../stable/2021-08-01/expressRouteProviderPort.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json index 18f564ead0ea..cc9cf8a0434f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json @@ -3,7 +3,7 @@ "info": { "title": "NetworkManagementClient", "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2020-03-01" + "version": "2021-08-01" }, "host": "management.azure.com", "schemes": [ From 37c91d038dfc3921f1186413d05d8323e3832d2f Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 1 Apr 2022 14:14:42 +0530 Subject: [PATCH 09/40] Create expressRouteProviderPort.json --- .../examples/expressRouteProviderPort.json | 239 ++++++++++++++++++ 1 file changed, 239 insertions(+) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json new file mode 100644 index 000000000000..cc9cf8a0434f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json @@ -0,0 +1,239 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2021-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { + "get": { + "tags": [ + "ExpressRouteProviderPorts" + ], + "operationId": "ExpressRouteProviderPorts_List", + "description": "Retrieves all the ExpressRouteProviderPorts in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteProviderPort resources. If there are no ports for the provider, an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteProviderPortListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteProviderPortList": { + "$ref": "./examples/ExpressRouteProviderPortList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { + "get": { + "tags": [ + "ExpressRouteProviderPorts" + ], + "operationId": "ExpressRouteProviderPortsLocation_List", + "description": "Retrieves all the ExpressRouteProviderPorts in a subscription for a particular location.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the requested ExpressRoutePort peering location." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteProviderPort resources at a location. If there are no ports for the provider, an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteProviderPortListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteProviderPortList": { + "$ref": "./examples/ExpressRouteProviderPortLocationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}": { + "get": { + "tags": [ + "ExpressRouteProviderPorts" + ], + "operationId": "ExpressRouteProviderPort", + "description": "Retrieves detail of a provider port.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ProviderPortParameter" + }, + ], + "responses": { + "200": { + "description": "Request successful. The operation returns detail of individual provider port resources. If there is no port, an empty result is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteProviderPort" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteProviderPort": { + "$ref": "./examples/ExpressRouteProviderPort.json" + } + } + } + }, + }, + "definitions": { + "ExpressRouteProviderPortProperties": { + "properties": { + "portPairDescriptor": { + "readOnly": true, + "type": "string", + "description": "The name of the port pair." + }, + "primaryAzurePort": { + "readOnly": true, + "type": "string", + "description": "The name of the primary port." + }, + "secondaryAzurePort": { + "readOnly": true, + "type": "string", + "description": "The name of the secondary port." + }, + "peeringLocation": { + "type": "string", + "description": "The peering location of the port pair." + }, + "overprovisionFactor": { + "type": "integer", + "format": "int32", + "description": "Overprovisioning factor for the port pair." + }, + "portBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Bandwidth of the port in Mbps" + }, + "usedBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Used Bandwidth of the port in Mbps" + }, + "remainingBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Remaining Bandwidth of the port in Mbps" + } + }, + "description": "Properties of ExpressRouteProviderPort." + }, + "ExpressRouteProviderPort": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteProviderPortProperties", + "description": "Properties of the express route Service Provider Port." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "ExpressRouteProviderPort resource." + }, + "ExpressRouteProviderPortListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteProviderPort" + }, + "description": "A list of ExpressRouteProviderPort resources." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListExpressRouteProviderPort API service call." + } + } +} From 10a9fcf07e96d06b751453c036e2c5e3fdb74bf0 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 1 Apr 2022 14:15:50 +0530 Subject: [PATCH 10/40] Create expressRouteProviderPortList.json --- .../expressRouteProviderPortList.json | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortList.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortList.json new file mode 100644 index 000000000000..71c5a3bcf108 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortList.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2021-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "portPairDescriptor": "bvtazureixpportpair1", + "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", + "type": "Microsoft.Network/expressRouteProviderPort", + "location": "uswest", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "properties": { + "portPairDescriptor": "bvtazureixpportpair", + "primaryAzurePort": "bvtazureixp01", + "secondaryAzurePort": "bvtazureixp01", + "peeringLocation": "SiliconValley", + "overprovisionFactor": 4, + "portBandwidthInMbps": 4000, + "usedBandwidthInMbps": 2500, + "remainingBandwidthInMbps": 1500 + } + }, + { + "portPairDescriptor": "bvtazureixpportpair2", + "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair2", + "type": "Microsoft.Network/expressRouteProviderPort", + "location": "uswest", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "properties": { + "portPairDescriptor": "bvtazureixpportpair2", + "primaryAzurePort": "bvtazureixp02", + "secondaryAzurePort": "bvtazureixp02", + "peeringLocation": "seattle", + "overprovisionFactor": 4, + "portBandwidthInMbps": 4000, + "usedBandwidthInMbps": 1200, + "remainingBandwidthInMbps": 1800 + } + } + ] + } + } + } + } + From eb8290c3e68b67abeb2917b6256fedb41751453a Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 1 Apr 2022 14:16:50 +0530 Subject: [PATCH 11/40] Create expressRouteProviderPortLocationList.json --- .../expressRouteProviderPortLocationList.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortLocationList.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortLocationList.json new file mode 100644 index 000000000000..b8bf485801a8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortLocationList.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2021-08-01", + "locationName": "SiliconValley", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "portPairDescriptor": "bvtazureixpportpair1", + "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", + "type": "Microsoft.Network/expressRouteProviderPort", + "location": "uswest", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "properties": { + "portPairDescriptor": "bvtazureixpportpair", + "primaryAzurePort": "bvtazureixp01", + "secondaryAzurePort": "bvtazureixp01", + "peeringLocation": "SiliconValley", + "overprovisionFactor": 4, + "portBandwidthInMbps": 4000, + "usedBandwidthInMbps": 2500, + "remainingBandwidthInMbps": 1500 + } + } + ] + } + } + } + } + From 903edb99cf353a11fe35722b7f62fe9623d2fdd6 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 1 Apr 2022 14:18:17 +0530 Subject: [PATCH 12/40] Delete expressRouteProviderPort.json moved to example folder --- .../2021-08-01/expressRouteProviderPort.json | 239 ------------------ 1 file changed, 239 deletions(-) delete mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json deleted file mode 100644 index cc9cf8a0434f..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json +++ /dev/null @@ -1,239 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2021-08-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { - "get": { - "tags": [ - "ExpressRouteProviderPorts" - ], - "operationId": "ExpressRouteProviderPorts_List", - "description": "Retrieves all the ExpressRouteProviderPorts in a subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRouteProviderPort resources. If there are no ports for the provider, an empty list is returned.", - "schema": { - "$ref": "#/definitions/ExpressRouteProviderPortListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ExpressRouteProviderPortList": { - "$ref": "./examples/ExpressRouteProviderPortList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { - "get": { - "tags": [ - "ExpressRouteProviderPorts" - ], - "operationId": "ExpressRouteProviderPortsLocation_List", - "description": "Retrieves all the ExpressRouteProviderPorts in a subscription for a particular location.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the requested ExpressRoutePort peering location." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRouteProviderPort resources at a location. If there are no ports for the provider, an empty list is returned.", - "schema": { - "$ref": "#/definitions/ExpressRouteProviderPortListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ExpressRouteProviderPortList": { - "$ref": "./examples/ExpressRouteProviderPortLocationList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}": { - "get": { - "tags": [ - "ExpressRouteProviderPorts" - ], - "operationId": "ExpressRouteProviderPort", - "description": "Retrieves detail of a provider port.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ProviderPortParameter" - }, - ], - "responses": { - "200": { - "description": "Request successful. The operation returns detail of individual provider port resources. If there is no port, an empty result is returned.", - "schema": { - "$ref": "#/definitions/ExpressRouteProviderPort" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ExpressRouteProviderPort": { - "$ref": "./examples/ExpressRouteProviderPort.json" - } - } - } - }, - }, - "definitions": { - "ExpressRouteProviderPortProperties": { - "properties": { - "portPairDescriptor": { - "readOnly": true, - "type": "string", - "description": "The name of the port pair." - }, - "primaryAzurePort": { - "readOnly": true, - "type": "string", - "description": "The name of the primary port." - }, - "secondaryAzurePort": { - "readOnly": true, - "type": "string", - "description": "The name of the secondary port." - }, - "peeringLocation": { - "type": "string", - "description": "The peering location of the port pair." - }, - "overprovisionFactor": { - "type": "integer", - "format": "int32", - "description": "Overprovisioning factor for the port pair." - }, - "portBandwidthInMbps": { - "type": "integer", - "format": "int32", - "description": "Bandwidth of the port in Mbps" - }, - "usedBandwidthInMbps": { - "type": "integer", - "format": "int32", - "description": "Used Bandwidth of the port in Mbps" - }, - "remainingBandwidthInMbps": { - "type": "integer", - "format": "int32", - "description": "Remaining Bandwidth of the port in Mbps" - } - }, - "description": "Properties of ExpressRouteProviderPort." - }, - "ExpressRouteProviderPort": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteProviderPortProperties", - "description": "Properties of the express route Service Provider Port." - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "ExpressRouteProviderPort resource." - }, - "ExpressRouteProviderPortListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteProviderPort" - }, - "description": "A list of ExpressRouteProviderPort resources." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "Response for ListExpressRouteProviderPort API service call." - } - } -} From 21af2ee799c942ba8f978ae52fa3054f12154bb0 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 1 Apr 2022 14:18:41 +0530 Subject: [PATCH 13/40] Delete expressRouteProviderPortList.json moved to example folder --- .../expressRouteProviderPortList.json | 49 ------------------- 1 file changed, 49 deletions(-) delete mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortList.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortList.json deleted file mode 100644 index 2ef970b9f511..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortList.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "api-version": "2020-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "portPairDescriptor": "bvtazureixpportpair1", - "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", - "type": "Microsoft.Network/expressRouteProviderPort", - "location": "uswest", - "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", - "properties": { - "portPairDescriptor": "bvtazureixpportpair", - "primaryAzurePort": "bvtazureixp01", - "secondaryAzurePort": "bvtazureixp01", - "peeringLocation": "SiliconValley", - "overprovisionFactor": 4, - "portBandwidthInMbps": 4000, - "usedBandwidthInMbps": 2500, - "remainingBandwidthInMbps": 1500 - } - }, - { - "portPairDescriptor": "bvtazureixpportpair2", - "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair2", - "type": "Microsoft.Network/expressRouteProviderPort", - "location": "uswest", - "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", - "properties": { - "portPairDescriptor": "bvtazureixpportpair2", - "primaryAzurePort": "bvtazureixp02", - "secondaryAzurePort": "bvtazureixp02", - "peeringLocation": "seattle", - "overprovisionFactor": 4, - "portBandwidthInMbps": 4000, - "usedBandwidthInMbps": 1200, - "remainingBandwidthInMbps": 1800 - } - } - ] - } - } - } - } - From bf4c3def420fce7b29590ca7362b34e4ac90dfa1 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 1 Apr 2022 14:18:59 +0530 Subject: [PATCH 14/40] Delete expressRouteProviderPortLocationList.json moved to example folder --- .../expressRouteProviderPortLocationList.json | 33 ------------------- 1 file changed, 33 deletions(-) delete mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortLocationList.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortLocationList.json deleted file mode 100644 index ad2b498538e4..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPortLocationList.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "api-version": "2020-03-01", - "locationName": "SiliconValley", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "portPairDescriptor": "bvtazureixpportpair1", - "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", - "type": "Microsoft.Network/expressRouteProviderPort", - "location": "uswest", - "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", - "properties": { - "portPairDescriptor": "bvtazureixpportpair", - "primaryAzurePort": "bvtazureixp01", - "secondaryAzurePort": "bvtazureixp01", - "peeringLocation": "SiliconValley", - "overprovisionFactor": 4, - "portBandwidthInMbps": 4000, - "usedBandwidthInMbps": 2500, - "remainingBandwidthInMbps": 1500 - } - } - ] - } - } - } - } - From 20afa0e3a44c782068933a121342c252f7e642c1 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Wed, 6 Apr 2022 23:39:33 +0530 Subject: [PATCH 15/40] Update expressRouteProviderPort.json --- .../2021-08-01/examples/expressRouteProviderPort.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json index cc9cf8a0434f..1a487e3f955e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json @@ -85,12 +85,12 @@ "$ref": "./network.json#/parameters/SubscriptionIdParameter" }, { - "name": "location", - "in": "path", - "required": true, + "name": "$filter", + "in": "query", + "required": false, "type": "string", - "description": "Name of the requested ExpressRoutePort peering location." - } + "description": "The filter to apply on the operation. For example, you can use $filter=location eq '{state}'." + }, ], "responses": { "200": { From 30c25e5385bd359b8f07c8703375c18337adc648 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Wed, 6 Apr 2022 23:41:25 +0530 Subject: [PATCH 16/40] Update expressRouteCrossConnection.json --- .../stable/2021-08-01/expressRouteCrossConnection.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteCrossConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteCrossConnection.json index 4cf9fcaab998..d01bf513da64 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteCrossConnection.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteCrossConnection.json @@ -799,10 +799,12 @@ "ExpressRouteCrossConnectionProperties": { "properties": { "primaryAzurePort": { + "readOnly": true, "type": "string", "description": "The name of the primary port." }, "secondaryAzurePort": { + "readOnly": true, "type": "string", "description": "The name of the secondary port." }, From 857af93df5172861e12472c105286f94cf902d82 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 8 Apr 2022 00:32:21 +0530 Subject: [PATCH 17/40] Update expressRouteProviderPort.json --- .../examples/expressRouteProviderPort.json | 47 +++---------------- 1 file changed, 7 insertions(+), 40 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json index 1a487e3f955e..00d8bd833ea5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json @@ -34,49 +34,13 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { - "get": { - "tags": [ - "ExpressRouteProviderPorts" - ], - "operationId": "ExpressRouteProviderPorts_List", - "description": "Retrieves all the ExpressRouteProviderPorts in a subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRouteProviderPort resources. If there are no ports for the provider, an empty list is returned.", - "schema": { - "$ref": "#/definitions/ExpressRouteProviderPortListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ExpressRouteProviderPortList": { - "$ref": "./examples/ExpressRouteProviderPortList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { "get": { "tags": [ "ExpressRouteProviderPorts" ], "operationId": "ExpressRouteProviderPortsLocation_List", - "description": "Retrieves all the ExpressRouteProviderPorts in a subscription for a particular location.", + "description": "Retrieves all the ExpressRouteProviderPorts in a subscription.", "parameters": [ { "$ref": "./network.json#/parameters/ApiVersionParameter" @@ -107,9 +71,12 @@ } }, "x-ms-examples": { - "ExpressRouteProviderPortList": { + "ExpressRouteProviderPortList": { + "$ref": "./examples/ExpressRouteProviderPortList.json" + }, + "ExpressRouteProviderPortList": { "$ref": "./examples/ExpressRouteProviderPortLocationList.json" - } + }, } } }, From 5acdad4b773c648f65bef32240e44d548078d381 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 8 Apr 2022 00:39:31 +0530 Subject: [PATCH 18/40] Create expressRouteProviderPort.json --- .../2021-08-01/expressRouteProviderPort.json | 206 ++++++++++++++++++ 1 file changed, 206 insertions(+) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json new file mode 100644 index 000000000000..00d8bd833ea5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json @@ -0,0 +1,206 @@ +{ + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2021-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { + "get": { + "tags": [ + "ExpressRouteProviderPorts" + ], + "operationId": "ExpressRouteProviderPortsLocation_List", + "description": "Retrieves all the ExpressRouteProviderPorts in a subscription.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation. For example, you can use $filter=location eq '{state}'." + }, + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteProviderPort resources at a location. If there are no ports for the provider, an empty list is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteProviderPortListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteProviderPortList": { + "$ref": "./examples/ExpressRouteProviderPortList.json" + }, + "ExpressRouteProviderPortList": { + "$ref": "./examples/ExpressRouteProviderPortLocationList.json" + }, + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}": { + "get": { + "tags": [ + "ExpressRouteProviderPorts" + ], + "operationId": "ExpressRouteProviderPort", + "description": "Retrieves detail of a provider port.", + "parameters": [ + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./network.json#/parameters/ProviderPortParameter" + }, + ], + "responses": { + "200": { + "description": "Request successful. The operation returns detail of individual provider port resources. If there is no port, an empty result is returned.", + "schema": { + "$ref": "#/definitions/ExpressRouteProviderPort" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteProviderPort": { + "$ref": "./examples/ExpressRouteProviderPort.json" + } + } + } + }, + }, + "definitions": { + "ExpressRouteProviderPortProperties": { + "properties": { + "portPairDescriptor": { + "readOnly": true, + "type": "string", + "description": "The name of the port pair." + }, + "primaryAzurePort": { + "readOnly": true, + "type": "string", + "description": "The name of the primary port." + }, + "secondaryAzurePort": { + "readOnly": true, + "type": "string", + "description": "The name of the secondary port." + }, + "peeringLocation": { + "type": "string", + "description": "The peering location of the port pair." + }, + "overprovisionFactor": { + "type": "integer", + "format": "int32", + "description": "Overprovisioning factor for the port pair." + }, + "portBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Bandwidth of the port in Mbps" + }, + "usedBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Used Bandwidth of the port in Mbps" + }, + "remainingBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Remaining Bandwidth of the port in Mbps" + } + }, + "description": "Properties of ExpressRouteProviderPort." + }, + "ExpressRouteProviderPort": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteProviderPortProperties", + "description": "Properties of the express route Service Provider Port." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "ExpressRouteProviderPort resource." + }, + "ExpressRouteProviderPortListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteProviderPort" + }, + "description": "A list of ExpressRouteProviderPort resources." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListExpressRouteProviderPort API service call." + } + } +} From 4e83b60e110e652c2ce3242873d16ee16b4943c4 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 8 Apr 2022 00:41:01 +0530 Subject: [PATCH 19/40] Delete expressRouteProviderPort.json --- .../examples/expressRouteProviderPort.json | 206 ------------------ 1 file changed, 206 deletions(-) delete mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json deleted file mode 100644 index 00d8bd833ea5..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json +++ /dev/null @@ -1,206 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2021-08-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { - "get": { - "tags": [ - "ExpressRouteProviderPorts" - ], - "operationId": "ExpressRouteProviderPortsLocation_List", - "description": "Retrieves all the ExpressRouteProviderPorts in a subscription.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation. For example, you can use $filter=location eq '{state}'." - }, - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRouteProviderPort resources at a location. If there are no ports for the provider, an empty list is returned.", - "schema": { - "$ref": "#/definitions/ExpressRouteProviderPortListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ExpressRouteProviderPortList": { - "$ref": "./examples/ExpressRouteProviderPortList.json" - }, - "ExpressRouteProviderPortList": { - "$ref": "./examples/ExpressRouteProviderPortLocationList.json" - }, - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}": { - "get": { - "tags": [ - "ExpressRouteProviderPorts" - ], - "operationId": "ExpressRouteProviderPort", - "description": "Retrieves detail of a provider port.", - "parameters": [ - { - "$ref": "./network.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./network.json#/parameters/ProviderPortParameter" - }, - ], - "responses": { - "200": { - "description": "Request successful. The operation returns detail of individual provider port resources. If there is no port, an empty result is returned.", - "schema": { - "$ref": "#/definitions/ExpressRouteProviderPort" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./network.json#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "ExpressRouteProviderPort": { - "$ref": "./examples/ExpressRouteProviderPort.json" - } - } - } - }, - }, - "definitions": { - "ExpressRouteProviderPortProperties": { - "properties": { - "portPairDescriptor": { - "readOnly": true, - "type": "string", - "description": "The name of the port pair." - }, - "primaryAzurePort": { - "readOnly": true, - "type": "string", - "description": "The name of the primary port." - }, - "secondaryAzurePort": { - "readOnly": true, - "type": "string", - "description": "The name of the secondary port." - }, - "peeringLocation": { - "type": "string", - "description": "The peering location of the port pair." - }, - "overprovisionFactor": { - "type": "integer", - "format": "int32", - "description": "Overprovisioning factor for the port pair." - }, - "portBandwidthInMbps": { - "type": "integer", - "format": "int32", - "description": "Bandwidth of the port in Mbps" - }, - "usedBandwidthInMbps": { - "type": "integer", - "format": "int32", - "description": "Used Bandwidth of the port in Mbps" - }, - "remainingBandwidthInMbps": { - "type": "integer", - "format": "int32", - "description": "Remaining Bandwidth of the port in Mbps" - } - }, - "description": "Properties of ExpressRouteProviderPort." - }, - "ExpressRouteProviderPort": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteProviderPortProperties", - "description": "Properties of the express route Service Provider Port." - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "ExpressRouteProviderPort resource." - }, - "ExpressRouteProviderPortListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteProviderPort" - }, - "description": "A list of ExpressRouteProviderPort resources." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "Response for ListExpressRouteProviderPort API service call." - } - } -} From e6eaaa42736c55c0450b1ee9d6ced01b153816b5 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 8 Apr 2022 00:56:47 +0530 Subject: [PATCH 20/40] Update expressRouteProviderPortList.json --- .../2021-08-01/examples/expressRouteProviderPortList.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortList.json index 71c5a3bcf108..09e0a2287fdd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortList.json @@ -8,13 +8,12 @@ "body": { "value": [ { - "portPairDescriptor": "bvtazureixpportpair1", "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", "type": "Microsoft.Network/expressRouteProviderPort", "location": "uswest", "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", "properties": { - "portPairDescriptor": "bvtazureixpportpair", + "portPairDescriptor": "bvtazureixpportpair1", "primaryAzurePort": "bvtazureixp01", "secondaryAzurePort": "bvtazureixp01", "peeringLocation": "SiliconValley", @@ -25,7 +24,6 @@ } }, { - "portPairDescriptor": "bvtazureixpportpair2", "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair2", "type": "Microsoft.Network/expressRouteProviderPort", "location": "uswest", From 5ee38f4afcd0aac662cdc60c3193264281e92675 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 8 Apr 2022 00:57:31 +0530 Subject: [PATCH 21/40] Update expressRouteProviderPortLocationList.json --- .../examples/expressRouteProviderPortLocationList.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortLocationList.json index b8bf485801a8..9b33080d7999 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortLocationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortLocationList.json @@ -9,13 +9,12 @@ "body": { "value": [ { - "portPairDescriptor": "bvtazureixpportpair1", "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", "type": "Microsoft.Network/expressRouteProviderPort", "location": "uswest", "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", "properties": { - "portPairDescriptor": "bvtazureixpportpair", + "portPairDescriptor": "bvtazureixpportpair1", "primaryAzurePort": "bvtazureixp01", "secondaryAzurePort": "bvtazureixp01", "peeringLocation": "SiliconValley", From 85822dccb83beecacc6fb7b75c7e70159c230c78 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 8 Apr 2022 15:25:47 +0530 Subject: [PATCH 22/40] Update readme.md --- specification/network/resource-manager/readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index 57c3b4ebbf57..c47e7fff2cd1 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -88,6 +88,9 @@ input-file: - Microsoft.Network/stable/2021-08-01/vmssNetworkInterface.json - Microsoft.Network/stable/2021-08-01/vmssPublicIpAddress.json - Microsoft.Network/stable/2021-08-01/webapplicationfirewall.json + - Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json + - Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortLocationList.json + - Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortList.json ``` ### Tag: package-2021-05-preview From 26277c53fc1baa0abc0b9919fe35a322cf55ae76 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 8 Apr 2022 15:29:20 +0530 Subject: [PATCH 23/40] Update expressRouteProviderPort.json --- .../stable/2021-08-01/expressRouteProviderPort.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json index 00d8bd833ea5..bcc57c70df9e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json @@ -74,7 +74,7 @@ "ExpressRouteProviderPortList": { "$ref": "./examples/ExpressRouteProviderPortList.json" }, - "ExpressRouteProviderPortList": { + "ExpressRouteProviderPortLocationList": { "$ref": "./examples/ExpressRouteProviderPortLocationList.json" }, } From da77583d7cec273ec3c26e4ba8819f1febbe65f4 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 8 Apr 2022 16:49:50 +0530 Subject: [PATCH 24/40] Update readme.md --- specification/network/resource-manager/readme.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index c47e7fff2cd1..57c3b4ebbf57 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -88,9 +88,6 @@ input-file: - Microsoft.Network/stable/2021-08-01/vmssNetworkInterface.json - Microsoft.Network/stable/2021-08-01/vmssPublicIpAddress.json - Microsoft.Network/stable/2021-08-01/webapplicationfirewall.json - - Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json - - Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortLocationList.json - - Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortList.json ``` ### Tag: package-2021-05-preview From 1bd5bc87aa43f5c1556dc94ac45b90a09b1b6bb0 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Mon, 11 Apr 2022 08:49:37 +0530 Subject: [PATCH 25/40] Update expressRouteProviderPort.json fixed syntax issue --- .../stable/2021-08-01/expressRouteProviderPort.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json index bcc57c70df9e..8116cc6b2fe5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json @@ -54,7 +54,7 @@ "required": false, "type": "string", "description": "The filter to apply on the operation. For example, you can use $filter=location eq '{state}'." - }, + } ], "responses": { "200": { @@ -76,7 +76,7 @@ }, "ExpressRouteProviderPortLocationList": { "$ref": "./examples/ExpressRouteProviderPortLocationList.json" - }, + } } } }, @@ -96,7 +96,7 @@ }, { "$ref": "./network.json#/parameters/ProviderPortParameter" - }, + } ], "responses": { "200": { @@ -118,7 +118,7 @@ } } } - }, + } }, "definitions": { "ExpressRouteProviderPortProperties": { From e96af52dc76949010773bfe033d86017566c7439 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Sun, 24 Apr 2022 22:50:17 +0530 Subject: [PATCH 26/40] Update readme.md added in readme file --- specification/network/resource-manager/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index 57c3b4ebbf57..0f968110e8d7 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -88,6 +88,7 @@ input-file: - Microsoft.Network/stable/2021-08-01/vmssNetworkInterface.json - Microsoft.Network/stable/2021-08-01/vmssPublicIpAddress.json - Microsoft.Network/stable/2021-08-01/webapplicationfirewall.json + - Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json ``` ### Tag: package-2021-05-preview From 17fc3ab4582d3d1ac91539b8d7f16140e53b0ef3 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Sun, 24 Apr 2022 23:11:24 +0530 Subject: [PATCH 27/40] Rename expressRouteProviderPortLocationList.json to expressRouteProviderPort.json --- ...roviderPortLocationList.json => expressRouteProviderPort.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/{expressRouteProviderPortLocationList.json => expressRouteProviderPort.json} (100%) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json similarity index 100% rename from specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortLocationList.json rename to specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json From f23f08a1a448628e04ba91ece328a8e1646224de Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Sun, 24 Apr 2022 23:12:54 +0530 Subject: [PATCH 28/40] Update expressRouteProviderPort.json --- .../stable/2021-08-01/expressRouteProviderPort.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json index 8116cc6b2fe5..5d0cbd8a4487 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json @@ -72,10 +72,7 @@ }, "x-ms-examples": { "ExpressRouteProviderPortList": { - "$ref": "./examples/ExpressRouteProviderPortList.json" - }, - "ExpressRouteProviderPortLocationList": { - "$ref": "./examples/ExpressRouteProviderPortLocationList.json" + "$ref": "./examples/expressRouteProviderPortList.json" } } } @@ -114,7 +111,7 @@ }, "x-ms-examples": { "ExpressRouteProviderPort": { - "$ref": "./examples/ExpressRouteProviderPort.json" + "$ref": "./examples/expressRouteProviderPort.json" } } } From b370868d57dc1a76227411da3b37185e00871102 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 29 Apr 2022 11:40:59 +0530 Subject: [PATCH 29/40] Update expressRouteProviderPort.json --- .../stable/2021-08-01/expressRouteProviderPort.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json index 5d0cbd8a4487..ea687e03cfeb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json @@ -86,13 +86,17 @@ "description": "Retrieves detail of a provider port.", "parameters": [ { - "$ref": "./network.json#/parameters/ApiVersionParameter" + "name": "providerport", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the provider port." }, { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" + "$ref": "./network.json#/parameters/ApiVersionParameter" }, { - "$ref": "./network.json#/parameters/ProviderPortParameter" + "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], "responses": { From 190132c791d2be675b1769e8816c2f94ab8c335a Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 29 Apr 2022 12:23:10 +0530 Subject: [PATCH 30/40] Update expressRouteProviderPort.json --- .../2021-08-01/examples/expressRouteProviderPort.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json index 9b33080d7999..f299d783372e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json @@ -2,13 +2,13 @@ "parameters": { "api-version": "2021-08-01", "locationName": "SiliconValley", - "subscriptionId": "subid" + "subscriptionId": "subid", + "providerport":"abc" }, "responses": { "200": { "body": { - "value": [ - { + "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", "type": "Microsoft.Network/expressRouteProviderPort", "location": "uswest", @@ -23,8 +23,6 @@ "usedBandwidthInMbps": 2500, "remainingBandwidthInMbps": 1500 } - } - ] } } } From 90efc5188af5f319497ec0edd06a367be70723cf Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Fri, 29 Apr 2022 12:27:25 +0530 Subject: [PATCH 31/40] Update custom-words.txt --- custom-words.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom-words.txt b/custom-words.txt index 574b56127e3f..2cbcbc62625f 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -2473,4 +2473,5 @@ loadtest xvalue yvalue servermetrics -IAASVM \ No newline at end of file +IAASVM +providerport From 63fc1c26f8e7777fb974a6f5891ffb27a5a4a0bb Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Mon, 9 May 2022 14:14:39 +0530 Subject: [PATCH 32/40] Update expressRouteProviderPort.json --- .../2021-08-01/expressRouteProviderPort.json | 122 +++++++++--------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json index ea687e03cfeb..fdf50e51ae97 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json @@ -1,40 +1,40 @@ { - "swagger": "2.0", - "info": { - "title": "NetworkManagementClient", - "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", - "version": "2021-08-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { + "swagger": "2.0", + "info": { + "title": "NetworkManagementClient", + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", + "version": "2021-08-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { "get": { "tags": [ "ExpressRouteProviderPorts" @@ -63,7 +63,7 @@ "$ref": "#/definitions/ExpressRouteProviderPortListResult" } }, - "default": { + "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "./network.json#/definitions/CloudError" @@ -71,13 +71,13 @@ } }, "x-ms-examples": { - "ExpressRouteProviderPortList": { + "ExpressRouteProviderPortList": { "$ref": "./examples/expressRouteProviderPortList.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}": { "get": { "tags": [ "ExpressRouteProviderPorts" @@ -106,7 +106,7 @@ "$ref": "#/definitions/ExpressRouteProviderPort" } }, - "default": { + "default": { "description": "Error response describing why the operation failed.", "schema": { "$ref": "./network.json#/definitions/CloudError" @@ -121,7 +121,7 @@ } } }, - "definitions": { + "definitions": { "ExpressRouteProviderPortProperties": { "properties": { "portPairDescriptor": { @@ -166,26 +166,26 @@ }, "description": "Properties of ExpressRouteProviderPort." }, - "ExpressRouteProviderPort": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteProviderPortProperties", - "description": "Properties of the express route Service Provider Port." - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "ExpressRouteProviderPort resource." - }, + "ExpressRouteProviderPort": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteProviderPortProperties", + "description": "Properties of the express route Service Provider Port." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "ExpressRouteProviderPort resource." + }, "ExpressRouteProviderPortListResult": { "properties": { "value": { @@ -202,6 +202,6 @@ } }, "description": "Response for ListExpressRouteProviderPort API service call." - } - } + } + } } From 22f597129d2aaaacd209c7052fc2ab7ffed57a11 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Mon, 9 May 2022 14:15:34 +0530 Subject: [PATCH 33/40] Update expressRouteProviderPort.json --- .../examples/expressRouteProviderPort.json | 50 +++++++++---------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json index f299d783372e..5bef1c87eecd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPort.json @@ -1,30 +1,28 @@ { - "parameters": { - "api-version": "2021-08-01", - "locationName": "SiliconValley", - "subscriptionId": "subid", - "providerport":"abc" - }, - "responses": { - "200": { - "body": { - - "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", - "type": "Microsoft.Network/expressRouteProviderPort", - "location": "uswest", - "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", - "properties": { - "portPairDescriptor": "bvtazureixpportpair1", - "primaryAzurePort": "bvtazureixp01", - "secondaryAzurePort": "bvtazureixp01", - "peeringLocation": "SiliconValley", - "overprovisionFactor": 4, - "portBandwidthInMbps": 4000, - "usedBandwidthInMbps": 2500, - "remainingBandwidthInMbps": 1500 - } - } + "parameters": { + "api-version": "2021-08-01", + "locationName": "SiliconValley", + "subscriptionId": "subid", + "providerport": "abc" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", + "type": "Microsoft.Network/expressRouteProviderPort", + "location": "uswest", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "properties": { + "portPairDescriptor": "bvtazureixpportpair1", + "primaryAzurePort": "bvtazureixp01", + "secondaryAzurePort": "bvtazureixp01", + "peeringLocation": "SiliconValley", + "overprovisionFactor": 4, + "portBandwidthInMbps": 4000, + "usedBandwidthInMbps": 2500, + "remainingBandwidthInMbps": 1500 } + } } } - +} From a2f9dcd8851997d4dcf9d926718d0e386af164ed Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Mon, 9 May 2022 14:16:10 +0530 Subject: [PATCH 34/40] Update expressRouteProviderPortList.json --- .../expressRouteProviderPortList.json | 85 +++++++++---------- 1 file changed, 42 insertions(+), 43 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortList.json index 09e0a2287fdd..8618dec9d4a6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/expressRouteProviderPortList.json @@ -1,47 +1,46 @@ { - "parameters": { - "api-version": "2021-08-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", - "type": "Microsoft.Network/expressRouteProviderPort", - "location": "uswest", - "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", - "properties": { - "portPairDescriptor": "bvtazureixpportpair1", - "primaryAzurePort": "bvtazureixp01", - "secondaryAzurePort": "bvtazureixp01", - "peeringLocation": "SiliconValley", - "overprovisionFactor": 4, - "portBandwidthInMbps": 4000, - "usedBandwidthInMbps": 2500, - "remainingBandwidthInMbps": 1500 - } - }, - { - "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair2", - "type": "Microsoft.Network/expressRouteProviderPort", - "location": "uswest", - "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", - "properties": { - "portPairDescriptor": "bvtazureixpportpair2", - "primaryAzurePort": "bvtazureixp02", - "secondaryAzurePort": "bvtazureixp02", - "peeringLocation": "seattle", - "overprovisionFactor": 4, - "portBandwidthInMbps": 4000, - "usedBandwidthInMbps": 1200, - "remainingBandwidthInMbps": 1800 - } - } - ] + "parameters": { + "api-version": "2021-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", + "type": "Microsoft.Network/expressRouteProviderPort", + "location": "uswest", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "properties": { + "portPairDescriptor": "bvtazureixpportpair1", + "primaryAzurePort": "bvtazureixp01", + "secondaryAzurePort": "bvtazureixp01", + "peeringLocation": "SiliconValley", + "overprovisionFactor": 4, + "portBandwidthInMbps": 4000, + "usedBandwidthInMbps": 2500, + "remainingBandwidthInMbps": 1500 + } + }, + { + "id": "/subscriptions/subid/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair2", + "type": "Microsoft.Network/expressRouteProviderPort", + "location": "uswest", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "properties": { + "portPairDescriptor": "bvtazureixpportpair2", + "primaryAzurePort": "bvtazureixp02", + "secondaryAzurePort": "bvtazureixp02", + "peeringLocation": "seattle", + "overprovisionFactor": 4, + "portBandwidthInMbps": 4000, + "usedBandwidthInMbps": 1200, + "remainingBandwidthInMbps": 1800 + } } - } + ] } + } } - +} From 5b654b411e3f1297660f91361b0fa7683a92f2e1 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Tue, 10 May 2022 08:28:58 +0530 Subject: [PATCH 35/40] Update expressRouteProviderPort.json --- .../stable/2021-08-01/expressRouteProviderPort.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json index fdf50e51ae97..dbce4d9b5190 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json @@ -169,6 +169,7 @@ "ExpressRouteProviderPort": { "properties": { "properties": { + "type": "object", "x-ms-client-flatten": true, "$ref": "#/definitions/ExpressRouteProviderPortProperties", "description": "Properties of the express route Service Provider Port." From 7a32c9d3afd560ba66863a527f571e44d6998e4f Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Tue, 10 May 2022 08:33:01 +0530 Subject: [PATCH 36/40] Update expressRouteProviderPort.json --- .../stable/2021-08-01/expressRouteProviderPort.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json index dbce4d9b5190..b0601527fe24 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json @@ -188,6 +188,7 @@ "description": "ExpressRouteProviderPort resource." }, "ExpressRouteProviderPortListResult": { + "type":"object", "properties": { "value": { "type": "array", From 5090b33a1f613f7e60f9bec5fceb7433e986dd8f Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Tue, 10 May 2022 08:49:49 +0530 Subject: [PATCH 37/40] Update expressRouteProviderPort.json --- .../stable/2021-08-01/expressRouteProviderPort.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json index b0601527fe24..7ef7d56b9dd5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json @@ -123,6 +123,7 @@ }, "definitions": { "ExpressRouteProviderPortProperties": { + "type":"object", "properties": { "portPairDescriptor": { "readOnly": true, @@ -167,9 +168,9 @@ "description": "Properties of ExpressRouteProviderPort." }, "ExpressRouteProviderPort": { + "type": "object", "properties": { "properties": { - "type": "object", "x-ms-client-flatten": true, "$ref": "#/definitions/ExpressRouteProviderPortProperties", "description": "Properties of the express route Service Provider Port." From 91d7589f35452021b63bf763ebfedd0c95823b50 Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Tue, 10 May 2022 09:13:36 +0530 Subject: [PATCH 38/40] Update expressRouteProviderPort.json --- .../2021-08-01/expressRouteProviderPort.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json index 7ef7d56b9dd5..6e5968ff247b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json @@ -179,6 +179,21 @@ "readOnly": true, "type": "string", "description": "A unique read-only string that changes whenever the resource is updated." + }, + "id": { + "readOnly": true, + "type": "string", + "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the resource" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"" } }, "allOf": [ From 4d1f3de76264b09a12a5e6d79ec5641a102884ab Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Tue, 10 May 2022 09:27:13 +0530 Subject: [PATCH 39/40] Update expressRouteProviderPort.json --- .../stable/2021-08-01/expressRouteProviderPort.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json index 6e5968ff247b..158a9464e7eb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json @@ -183,7 +183,7 @@ "id": { "readOnly": true, "type": "string", - "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + "description": "Fully qualified resource ID for the resource." }, "name": { "readOnly": true, From e18bd1158c504936d0137fd565028737d747290f Mon Sep 17 00:00:00 2001 From: jashsing-mic <79445297+jashsing-mic@users.noreply.github.com> Date: Tue, 10 May 2022 09:45:02 +0530 Subject: [PATCH 40/40] Update expressRouteProviderPort.json --- .../stable/2021-08-01/expressRouteProviderPort.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json index 158a9464e7eb..898c61625ecd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/expressRouteProviderPort.json @@ -123,7 +123,7 @@ }, "definitions": { "ExpressRouteProviderPortProperties": { - "type":"object", + "type": "object", "properties": { "portPairDescriptor": { "readOnly": true, @@ -180,7 +180,7 @@ "type": "string", "description": "A unique read-only string that changes whenever the resource is updated." }, - "id": { + "id": { "readOnly": true, "type": "string", "description": "Fully qualified resource ID for the resource." @@ -204,7 +204,7 @@ "description": "ExpressRouteProviderPort resource." }, "ExpressRouteProviderPortListResult": { - "type":"object", + "type": "object", "properties": { "value": { "type": "array",