From ff52c8f0abba74e564450d392b66695bb76b464e Mon Sep 17 00:00:00 2001 From: Javier Colomer Date: Wed, 29 Aug 2018 16:18:25 -0700 Subject: [PATCH 1/5] Initial version --- .../ExpressRouteCircuitPeeringCreate.json | 8 +- .../ExpressRouteCircuitPeeringGet.json | 107 +- .../ExpressRouteCircuitPeeringList.json | 8 +- .../ExpressRouteGatewayConnectionCreate.json | 48 + .../ExpressRouteGatewayConnectionDelete.json | 14 + .../ExpressRouteGatewayConnectionGet.json | 26 + .../ExpressRouteGatewayConnectionList.json | 29 + .../examples/ExpressRouteGatewayCreate.json | 51 + .../examples/ExpressRouteGatewayDelete.json | 13 + .../examples/ExpressRouteGatewayGet.json | 26 + ...xpressRouteGatewayListByResourceGroup.json | 28 + ...ExpressRouteGatewayListBySubscription.json | 27 + .../examples/expressRouteCircuit.json | 1988 +++++++++++++++++ .../2018-08-01/expressRouteCircuit.json | 4 + .../2018-08-01/expressRouteGateway.json | 682 ++++++ .../network/resource-manager/readme.md | 4 + 16 files changed, 3007 insertions(+), 56 deletions(-) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListBySubscription.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/expressRouteCircuit.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringCreate.json index 7b4d7552fe08..b728fda736c2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringCreate.json @@ -33,7 +33,10 @@ "state": "Enabled", "vlanId": 200, "gatewayManagerEtag": "", - "lastModifiedBy": "Customer" + "lastModifiedBy": "Customer", + "expressRouteGatewayConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections?api-version=2018-08-01" + } } } }, @@ -54,7 +57,8 @@ "state": "Enabled", "vlanId": 200, "gatewayManagerEtag": "", - "lastModifiedBy": "Customer" + "lastModifiedBy": "Customer", + "expressRouteGatewayConnection": "" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json index 7c4e9ba5df7c..4d7d33902bf2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json @@ -1,55 +1,58 @@ { - "parameters": { - "circuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2018-08-01", - "subscriptionId": "subid", - "peeringName": "MicrosoftPeering" - }, - "responses": { - "200": { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", - "properties": { - "provisioningState": "Succeeded", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", - "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", - "state": "Enabled", - "vlanId": 300, - "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Enabled", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "ValidationNeeded", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - } + "parameters": { + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2018-08-01", + "subscriptionId": "subid", + "peeringName": "MicrosoftPeering" + }, + "responses": { + "200": { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 300, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "123.1.0.0/24" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + }, + "expressRouteGatewayConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections?api-version=2018-08-01" + } } - } - } - } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json index 1ac1d7769960..1b4764daefc0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json @@ -49,7 +49,8 @@ "legacyMode": 0, "routingRegistryName": "ARIN" } - } + }, + "expressRouteGatewayConnection": "" } }, { @@ -68,7 +69,10 @@ "state": "Enabled", "vlanId": 200, "gatewayManagerEtag": "103", - "lastModifiedBy": "Customer" + "lastModifiedBy": "Customer", + "expressRouteGatewayConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections?api-version=2018-08-01" + } } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionCreate.json new file mode 100644 index 000000000000..07a52dc470bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionCreate.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "api-version": "2018-08-01", + "subscriptionId": "subid", + "connectionName": "connectionName", + "properties": { + "routingWeight": "routingWeight", + "authorizationKey": "authorizationKey", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + } + } + }, + "responses": { + "200": { + "body": { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "circuitConnectionStatus": "Connected", + "routingWeight": "22" + } + } + }, + "201": { + "body": { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "circuitConnectionStatus": "Connected", + "routingWeight": "22" + } + } + } + } +} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionDelete.json new file mode 100644 index 000000000000..98880eaad4da --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "connectionName": "connectionName", + "api-version": "2018-08-01", + "subscriptionId": "subid" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } + } \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionGet.json new file mode 100644 index 000000000000..97cb9b2dbcd6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "api-version": "2018-08-01", + "subscriptionId": "subid", + "connectionName": "connectionName" + }, + "responses": { + "200": { + "body": { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "circuitConnectionStatus": "Connected", + "routingWeight": "22" + } + } + } + } +} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionList.json new file mode 100644 index 000000000000..68553d8d5dc0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionList.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2018-08-01", + "resourceGroupName": "resourceGroupName", + "expressRouteGatewayName": "expressRouteGatewayName", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "circuitConnectionStatus": "Connected", + "routingWeight": "22" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json new file mode 100644 index 000000000000..6dbced6b3b1b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "api-version": "2018-08-01", + "subscriptionId": "subid", + "properties": { + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": "3" + } + }, + "location": "westus" + } + }, + "responses": { + "201": { + "body": { + "name": "expressRouteGatewayName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "westus", + "type": "Microsoft.Network/expressRouteGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + }, + "200": { + "body": { + "name": "expressRouteGatewayName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "westus", + "type": "Microsoft.Network/expressRouteGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayDelete.json new file mode 100644 index 000000000000..c8a7cd69cd77 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "api-version": "2018-08-01", + "subscriptionId": "subid" + }, + "responses": { + "202": {}, + "200": {}, + "204": {} + } +} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayGet.json new file mode 100644 index 000000000000..0595a831580e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "api-version": "2018-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "expressRouteGatewayName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "westus", + "type": "Microsoft.Network/expressRouteGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + }, + "404": {} + } +} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListByResourceGroup.json new file mode 100644 index 000000000000..0f32b9c3a505 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListByResourceGroup.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2018-08-01", + "resourceGroupName": "resourceGroupName", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "expressRouteGatewayName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "westus", + "type": "Microsoft.Network/expressRouteGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListBySubscription.json new file mode 100644 index 000000000000..b188b13be78d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListBySubscription.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2018-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "expressRouteGatewayName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "westus", + "type": "Microsoft.Network/expressRouteGateways", + "properties": { + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/expressRouteCircuit.json new file mode 100644 index 000000000000..b7b98b824424 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/expressRouteCircuit.json @@ -0,0 +1,1988 @@ +{ + "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": "2018-04-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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}": { + "delete": { + "tags": [ + "ExpressRouteCircuitAuthorizations" + ], + "operationId": "ExpressRouteCircuitAuthorizations_Delete", + "description": "Deletes the specified authorization from the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "authorizationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the authorization." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationDelete.json" + } + } + }, + "get": { + "tags": [ + "ExpressRouteCircuitAuthorizations" + ], + "operationId": "ExpressRouteCircuitAuthorizations_Get", + "description": "Gets the specified authorization from the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "authorizationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the authorization." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the ExpressRouteCircuitAuthorization resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + } + } + }, + "x-ms-examples": { + "Get ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationGet.json" + } + } + }, + "put": { + "tags": [ + "ExpressRouteCircuitAuthorizations" + ], + "operationId": "ExpressRouteCircuitAuthorizations_CreateOrUpdate", + "description": "Creates or updates an authorization in the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "authorizationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the authorization." + }, + { + "name": "authorizationParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + }, + "description": "Parameters supplied to the create or update express route circuit authorization operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationCreate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations": { + "get": { + "tags": [ + "ExpressRouteCircuitAuthorizations" + ], + "operationId": "ExpressRouteCircuitAuthorizations_List", + "description": "Gets all authorizations in an express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the circuit." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources.", + "schema": { + "$ref": "#/definitions/AuthorizationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}": { + "delete": { + "tags": [ + "ExpressRouteCircuitPeerings" + ], + "operationId": "ExpressRouteCircuitPeerings_Delete", + "description": "Deletes the specified peering from the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringDelete.json" + } + } + }, + "get": { + "tags": [ + "ExpressRouteCircuitPeerings" + ], + "operationId": "ExpressRouteCircuitPeerings_Get", + "description": "Gets the specified peering for the express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + } + } + }, + "x-ms-examples": { + "Get ExpressRouteCircuit Peering": { + "$ref": "./examples/ExpressRouteCircuitPeeringGet.json" + } + } + }, + "put": { + "tags": [ + "ExpressRouteCircuitPeerings" + ], + "operationId": "ExpressRouteCircuitPeerings_CreateOrUpdate", + "description": "Creates or updates a peering in the specified express route circuits.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "peeringParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + }, + "description": "Parameters supplied to the create or update express route circuit peering operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringCreate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings": { + "get": { + "tags": [ + "ExpressRouteCircuitPeerings" + ], + "operationId": "ExpressRouteCircuitPeerings_List", + "description": "Gets all peerings in a specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteCircuitPeering resources.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}": { + "delete": { + "tags": [ + "ExpressRouteCircuitConnections" + ], + "operationId": "ExpressRouteCircuitConnections_Delete", + "description": "Deletes the specified Express Route Circuit Connection from the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit connection." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-examples": { + "Delete ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitConnectionDelete.json" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "ExpressRouteCircuitConnections" + ], + "operationId": "ExpressRouteCircuitConnections_Get", + "description": "Gets the specified Express Route Circuit Connection from the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit connection." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting Express Route Circuit Connection resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + } + } + }, + "x-ms-examples": { + "ExpressRouteCircuitConnectionGet": { + "$ref": "./examples/ExpressRouteCircuitConnectionGet.json" + } + } + }, + "put": { + "tags": [ + "ExpressRouteCircuitConnections" + ], + "operationId": "ExpressRouteCircuitConnections_CreateOrUpdate", + "description": "Creates or updates a Express Route Circuit Connection in the specified express route circuits.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit connection." + }, + { + "name": "expressRouteCircuitConnectionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + }, + "description": "Parameters supplied to the create or update express route circuit circuit connection operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + } + } + }, + "x-ms-examples": { + "ExpressRouteCircuitConnectionCreate": { + "$ref": "./examples/ExpressRouteCircuitConnectionCreate.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}": { + "delete": { + "tags": [ + "ExpressRouteCircuits" + ], + "operationId": "ExpressRouteCircuits_Delete", + "description": "Deletes the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "204": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation." + }, + "200": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitDelete.json" + } + } + }, + "get": { + "tags": [ + "ExpressRouteCircuits" + ], + "operationId": "ExpressRouteCircuits_Get", + "description": "Gets information about the specified express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of express route circuit." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuit resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + } + } + }, + "x-ms-examples": { + "Get ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitGet.json" + } + } + }, + "put": { + "tags": [ + "ExpressRouteCircuits" + ], + "operationId": "ExpressRouteCircuits_CreateOrUpdate", + "description": "Creates or updates an express route circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the circuit." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + }, + "description": "Parameters supplied to the create or update express route circuit operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Create successful. The operation returns the resulting ExpressRouteCircuit resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + } + }, + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCircuit resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitCreate.json" + } + } + }, + "patch": { + "tags": [ + "ExpressRouteCircuits" + ], + "operationId": "ExpressRouteCircuits_UpdateTags", + "description": "Updates an express route circuit tags.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the circuit." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./network.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update express route circuit tags." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteCircuit resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + } + } + }, + "x-ms-examples": { + "Update Express Route Circuit Tags": { + "$ref": "./examples/ExpressRouteCircuitUpdateTags.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}": { + "post": { + "tags": [ + "ExpressRouteCircuitArpTable" + ], + "operationId": "ExpressRouteCircuits_ListArpTable", + "description": "Gets the currently advertised ARP table associated with the express route circuit in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "devicePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path of the device." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitsArpTableListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "List ARP Table": { + "$ref": "./examples/ExpressRouteCircuitARPTableList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}": { + "post": { + "tags": [ + "ExpressRouteCircuitRoutesTable" + ], + "operationId": "ExpressRouteCircuits_ListRoutesTable", + "description": "Gets the currently advertised routes table associated with the express route circuit in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "devicePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path of the device." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitsRoutesTableListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "List Route Tables": { + "$ref": "./examples/ExpressRouteCircuitRouteTableList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": { + "post": { + "tags": [ + "ExpressRouteCircuitRoutesTableSummary" + ], + "operationId": "ExpressRouteCircuits_ListRoutesTableSummary", + "description": "Gets the currently advertised routes table summary associated with the express route circuit in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "name": "devicePath", + "in": "path", + "required": true, + "type": "string", + "description": "The path of the device." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult" + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "List Route Table Summary": { + "$ref": "./examples/ExpressRouteCircuitRouteTableSummaryList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats": { + "get": { + "tags": [ + "ExpressRouteCircuitStats" + ], + "operationId": "ExpressRouteCircuits_GetStats", + "description": "Gets all the stats from an express route circuit in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuitStats resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitStats" + } + } + }, + "x-ms-examples": { + "Get ExpressRoute Circuit Traffic Stats": { + "$ref": "./examples/ExpressRouteCircuitStats.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats": { + "get": { + "tags": [ + "ExpressRouteCircuitStats" + ], + "operationId": "ExpressRouteCircuits_GetPeeringStats", + "description": "Gets all stats from an express route circuit in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "circuitName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the express route circuit." + }, + { + "name": "peeringName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the peering." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuitStats resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitStats" + } + } + }, + "x-ms-examples": { + "Get ExpressRoute Circuit Peering Traffic Stats": { + "$ref": "./examples/ExpressRouteCircuitPeeringStats.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits": { + "get": { + "tags": [ + "ExpressRouteCircuits" + ], + "operationId": "ExpressRouteCircuits_List", + "description": "Gets all the express route circuits in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRouteCircuits in a resource group": { + "$ref": "./examples/ExpressRouteCircuitListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits": { + "get": { + "tags": [ + "ExpressRouteCircuits" + ], + "operationId": "ExpressRouteCircuits_ListAll", + "description": "Gets all the express route circuits in a subscription.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteCircuit resources.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRouteCircuits in a subscription": { + "$ref": "./examples/ExpressRouteCircuitListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders": { + "get": { + "tags": [ + "ExpressRouteServiceProviders" + ], + "operationId": "ExpressRouteServiceProviders_List", + "description": "Gets all the available express route service providers.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of ExpressRouteServiceProdiver resources.", + "schema": { + "$ref": "#/definitions/ExpressRouteServiceProviderListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRoute providers": { + "$ref": "./examples/ExpressRouteProviderList.json" + } + } + } + } + }, + "definitions": { + "AuthorizationPropertiesFormat": { + "properties": { + "authorizationKey": { + "type": "string", + "description": "The authorization key." + }, + "authorizationUseStatus": { + "type": "string", + "description": "AuthorizationUseStatus. Possible values are: 'Available' and 'InUse'.", + "enum": [ + "Available", + "InUse" + ], + "x-ms-enum": { + "name": "AuthorizationUseStatus", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + } + } + }, + "ExpressRouteCircuitAuthorization": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AuthorizationPropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Authorization in an ExpressRouteCircuit resource." + }, + "AuthorizationListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + }, + "description": "The authorizations in an ExpressRoute Circuit." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit." + }, + "ExpressRouteCircuitPeeringConfig": { + "properties": { + "advertisedPublicPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The reference of AdvertisedPublicPrefixes." + }, + "advertisedCommunities": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The communities of bgp peering. Spepcified for microsoft peering" + }, + "advertisedPublicPrefixesState": { + "type": "string", + "description": "AdvertisedPublicPrefixState of the Peering resource. Possible values are 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'.", + "enum": [ + "NotConfigured", + "Configuring", + "Configured", + "ValidationNeeded" + ], + "x-ms-enum": { + "name": "ExpressRouteCircuitPeeringAdvertisedPublicPrefixState", + "modelAsString": true + } + }, + "legacyMode": { + "type": "integer", + "format": "int32", + "description": "The legacy mode of the peering." + }, + "customerASN": { + "type": "integer", + "format": "int32", + "description": "The CustomerASN of the peering." + }, + "routingRegistryName": { + "type": "string", + "description": "The RoutingRegistryName of the configuration." + } + }, + "description": "Specifies the peering configuration." + }, + "Ipv6ExpressRouteCircuitPeeringConfig": { + "properties": { + "primaryPeerAddressPrefix": { + "type": "string", + "description": "The primary address prefix." + }, + "secondaryPeerAddressPrefix": { + "type": "string", + "description": "The secondary address prefix." + }, + "microsoftPeeringConfig": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringConfig", + "description": "The Microsoft peering configuration." + }, + "routeFilter": { + "$ref": "./routeFilter.json#/definitions/RouteFilter", + "description": "The reference of the RouteFilter resource." + }, + "state": { + "type": "string", + "description": "The state of peering. Possible values are: 'Disabled' and 'Enabled'", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "ExpressRouteCircuitPeeringState", + "modelAsString": true + } + } + }, + "description": "Contains IPv6 peering config." + }, + "ExpressRouteCircuitStats": { + "properties": { + "primarybytesIn": { + "type": "integer", + "format": "int64", + "description": "Gets BytesIn of the peering." + }, + "primarybytesOut": { + "type": "integer", + "format": "int64", + "description": "Gets BytesOut of the peering." + }, + "secondarybytesIn": { + "type": "integer", + "format": "int64", + "description": "Gets BytesIn of the peering." + }, + "secondarybytesOut": { + "type": "integer", + "format": "int64", + "description": "Gets BytesOut of the peering." + } + }, + "description": "Contains stats associated with the peering." + }, + "ExpressRouteCircuitPeeringPropertiesFormat": { + "properties": { + "peeringType": { + "$ref": "#/definitions/ExpressRoutePeeringType", + "description": "The peering type." + }, + "state": { + "$ref": "#/definitions/ExpressRoutePeeringState", + "description": "The peering state." + }, + "azureASN": { + "type": "integer", + "format": "int32", + "description": "The Azure ASN." + }, + "peerASN": { + "type": "integer", + "format": "int64", + "minimum": 1, + "maximum": 4294967295, + "description": "The peer ASN." + }, + "primaryPeerAddressPrefix": { + "type": "string", + "description": "The primary address prefix." + }, + "secondaryPeerAddressPrefix": { + "type": "string", + "description": "The secondary address prefix." + }, + "primaryAzurePort": { + "type": "string", + "description": "The primary port." + }, + "secondaryAzurePort": { + "type": "string", + "description": "The secondary port." + }, + "sharedKey": { + "type": "string", + "description": "The shared key." + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "The VLAN ID." + }, + "microsoftPeeringConfig": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringConfig", + "description": "The Microsoft peering configuration." + }, + "stats": { + "$ref": "#/definitions/ExpressRouteCircuitStats", + "description": "Gets peering stats." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "gatewayManagerEtag": { + "type": "string", + "description": "The GatewayManager Etag." + }, + "lastModifiedBy": { + "type": "string", + "description": "Gets whether the provider or the customer last modified the peering." + }, + "routeFilter": { + "$ref": "./routeFilter.json#/definitions/RouteFilter", + "description": "The reference of the RouteFilter resource." + }, + "ipv6PeeringConfig": { + "$ref": "#/definitions/Ipv6ExpressRouteCircuitPeeringConfig", + "description": "The IPv6 peering configuration." + }, + "expressRouteGatewayConnection" : { + "$ref": "./expressRouteGateway.json#/definitions/ExpressRouteGatewayConnectionId", + "description": "The ExpressRouteGatewayConnection." + }, + "connections": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + }, + "description": "The list of circuit connections associated with Azure Private Peering for this circuit." + } + } + }, + "ExpressRouteCircuitPeering": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteCircuitPeeringPropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Peering in an ExpressRouteCircuit resource." + }, + "ExpressRouteCircuitPeeringListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + }, + "description": "The peerings in an express route circuit." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit." + }, + "ExpressRoutePeeringType": { + "type": "string", + "description": "The PeeringType. Possible values are: 'AzurePublicPeering', 'AzurePrivatePeering', and 'MicrosoftPeering'.", + "enum": [ + "AzurePublicPeering", + "AzurePrivatePeering", + "MicrosoftPeering" + ], + "x-ms-enum": { + "name": "ExpressRoutePeeringType", + "modelAsString": true + } + }, + "ExpressRoutePeeringState": { + "type": "string", + "description": "The state of peering. Possible values are: 'Disabled' and 'Enabled'", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "ExpressRoutePeeringState", + "modelAsString": true + } + }, + "ExpressRouteCircuitConnectionPropertiesFormat": { + "properties": { + "expressRouteCircuitPeering": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection." + }, + "peerExpressRouteCircuitPeering": { + "$ref": "./network.json#/definitions/SubResource", + "description": "Reference to Express Route Circuit Private Peering Resource of the peered circuit." + }, + "addressPrefix": { + "type": "string", + "description": "/29 IP address space to carve out Customer addresses for tunnels." + }, + "authorizationKey": { + "type": "string", + "description": "The authorization key." + }, + "circuitConnectionStatus": { + "type": "string", + "description": "Express Route Circuit Connection State. Possible values are: 'Connected' and 'Disconnected'.", + "enum": [ + "Connected", + "Connecting", + "Disconnected" + ], + "readOnly": true, + "x-ms-enum": { + "name": "circuitConnectionStatus", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Provisioning state of the circuit connection resource. Possible values are: 'Succeded', 'Updating', 'Deleting', and 'Failed'." + } + } + }, + "ExpressRouteCircuitConnection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteCircuitConnectionPropertiesFormat" + }, + "name": { + "type": "string", + "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "Express Route Circuit Connection in an ExpressRouteCircuitPeering resource." + }, + "ExpressRouteCircuitSku": { + "properties": { + "name": { + "type": "string", + "description": "The name of the SKU." + }, + "tier": { + "type": "string", + "description": "The tier of the SKU. Possible values are 'Standard' and 'Premium'.", + "enum": [ + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "ExpressRouteCircuitSkuTier", + "modelAsString": true + } + }, + "family": { + "type": "string", + "description": "The family of the SKU. Possible values are: 'UnlimitedData' and 'MeteredData'.", + "enum": [ + "UnlimitedData", + "MeteredData" + ], + "x-ms-enum": { + "name": "ExpressRouteCircuitSkuFamily", + "modelAsString": true + } + } + }, + "description": "Contains SKU in an ExpressRouteCircuit." + }, + "ExpressRouteCircuitServiceProviderProperties": { + "properties": { + "serviceProviderName": { + "type": "string", + "description": "The serviceProviderName." + }, + "peeringLocation": { + "type": "string", + "description": "The peering location." + }, + "bandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "The BandwidthInMbps." + } + }, + "description": "Contains ServiceProviderProperties in an ExpressRouteCircuit." + }, + "ExpressRouteCircuitPropertiesFormat": { + "properties": { + "allowClassicOperations": { + "type": "boolean", + "description": "Allow classic operations" + }, + "circuitProvisioningState": { + "type": "string", + "description": "The CircuitProvisioningState state of the resource." + }, + "serviceProviderProvisioningState": { + "type": "string", + "description": "The ServiceProviderProvisioningState state of the resource. Possible values are 'NotProvisioned', 'Provisioning', 'Provisioned', and 'Deprovisioning'.", + "enum": [ + "NotProvisioned", + "Provisioning", + "Provisioned", + "Deprovisioning" + ], + "x-ms-enum": { + "name": "ServiceProviderProvisioningState", + "modelAsString": true + } + }, + "authorizations": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + }, + "description": "The list of authorizations." + }, + "peerings": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + }, + "description": "The list of peerings." + }, + "serviceKey": { + "type": "string", + "description": "The ServiceKey." + }, + "serviceProviderNotes": { + "type": "string", + "description": "The ServiceProviderNotes." + }, + "serviceProviderProperties": { + "$ref": "#/definitions/ExpressRouteCircuitServiceProviderProperties", + "description": "The ServiceProviderProperties." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." + }, + "gatewayManagerEtag": { + "type": "string", + "description": "The GatewayManager Etag." + } + }, + "description": "Properties of ExpressRouteCircuit." + }, + "ExpressRouteCircuit": { + "properties": { + "sku": { + "$ref": "#/definitions/ExpressRouteCircuitSku", + "description": "The SKU." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteCircuitPropertiesFormat" + }, + "etag": { + "readOnly": true, + "type": "string", + "description": "Gets a unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "ExpressRouteCircuit resource" + }, + "ExpressRouteCircuitArpTable": { + "properties": { + "age": { + "type": "integer", + "format": "int32", + "description": "Entry age in minutes" + }, + "interface": { + "type": "string", + "description": "Interface address" + }, + "ipAddress": { + "type": "string", + "description": "The IP address." + }, + "macAddress": { + "type": "string", + "description": "The MAC address." + } + }, + "description": "The ARP table associated with the ExpressRouteCircuit." + }, + "ExpressRouteCircuitsArpTableListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitArpTable" + }, + "description": "Gets list of the ARP table." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListArpTable associated with the Express Route Circuits API." + }, + "ExpressRouteCircuitRoutesTable": { + "properties": { + "network": { + "type": "string", + "description": "IP address of a network entity" + }, + "nextHop": { + "type": "string", + "description": "NextHop address" + }, + "locPrf": { + "type": "string", + "description": "Local preference value as set with the set local-preference route-map configuration command" + }, + "weight": { + "type": "integer", + "format": "int32", + "description": "Route Weight." + }, + "path": { + "type": "string", + "description": "Autonomous system paths to the destination network." + } + }, + "description": "The routes table associated with the ExpressRouteCircuit" + }, + "ExpressRouteCircuitsRoutesTableListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitRoutesTable" + }, + "description": "The list of routes table." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListRoutesTable associated with the Express Route Circuits API." + }, + "ExpressRouteCircuitRoutesTableSummary": { + "properties": { + "neighbor": { + "type": "string", + "description": "IP address of the neighbor." + }, + "v": { + "type": "integer", + "format": "int32", + "description": "BGP version number spoken to the neighbor." + }, + "as": { + "type": "integer", + "format": "int32", + "description": "Autonomous system number." + }, + "upDown": { + "type": "string", + "description": "The length of time that the BGP session has been in the Established state, or the current status if not in the Established state." + }, + "statePfxRcd": { + "type": "string", + "description": "Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group." + } + }, + "description": "The routes table associated with the ExpressRouteCircuit." + }, + "ExpressRouteCircuitsRoutesTableSummaryListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitRoutesTableSummary" + }, + "description": "A list of the routes table." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListRoutesTable associated with the Express Route Circuits API." + }, + "ExpressRouteCircuitListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteCircuit" + }, + "description": "A list of ExpressRouteCircuits in a resource group." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for ListExpressRouteCircuit API service call." + }, + "ExpressRouteServiceProviderBandwidthsOffered": { + "properties": { + "offerName": { + "type": "string", + "description": "The OfferName." + }, + "valueInMbps": { + "type": "integer", + "format": "int32", + "description": "The ValueInMbps." + } + }, + "description": "Contains bandwidths offered in ExpressRouteServiceProvider resources." + }, + "ExpressRouteServiceProviderPropertiesFormat": { + "properties": { + "peeringLocations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Get a list of peering locations." + }, + "bandwidthsOffered": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteServiceProviderBandwidthsOffered" + }, + "description": "Gets bandwidths offered." + }, + "provisioningState": { + "type": "string", + "description": "Gets the provisioning state of the resource." + } + }, + "description": "Properties of ExpressRouteServiceProvider." + }, + "ExpressRouteServiceProvider": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteServiceProviderPropertiesFormat" + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "A ExpressRouteResourceProvider object." + }, + "ExpressRouteServiceProviderListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteServiceProvider" + }, + "description": "A list of ExpressRouteResourceProvider resources." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for the ListExpressRouteServiceProvider API service call." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client API version." + } + } +} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteCircuit.json index 0449a605e5ca..31b44006b78b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteCircuit.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteCircuit.json @@ -1448,6 +1448,10 @@ "$ref": "#/definitions/Ipv6ExpressRouteCircuitPeeringConfig", "description": "The IPv6 peering configuration." }, + "expressRouteGatewayConnection" : { + "$ref": "./expressRouteGateway.json#/definitions/ExpressRouteGatewayConnectionId", + "description": "The ExpressRouteGatewayConnection." + }, "connections": { "type": "array", "items": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json new file mode 100644 index 000000000000..7532000e4382 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json @@ -0,0 +1,682 @@ +{ + "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": "2018-04-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/expressRouteGateways?api-version={api-version}": { + "get": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateway_ListBySubscription", + "x-ms-examples": { + "ExpressRouteGatewayListBySubscription": { + "$ref": "./examples/ExpressRouteGatewayListBySubscription.json" + } + }, + "description": "Lists ExpressRouteGateways under a given subscription.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful.", + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayList" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways?api-version={api-version}": { + "get": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateway_ListByResourceGroup", + "x-ms-examples": { + "ExpressRouteGatewayListByResourceGroup": { + "$ref": "./examples/ExpressRouteGatewayListByResourceGroup.json" + } + }, + "description": "Lists ExpressRouteGateways in a given resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Operation successful.", + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayList" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}?api-version={api-version}": { + "put": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateway_CreateOrUpdate", + "x-ms-examples": { + "ExpressRouteGatewayCreate": { + "$ref": "./examples/ExpressRouteGatewayCreate.json" + } + }, + "description": "Creates or updates a ExpressRouteGateway in a specified resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRote gateway." + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayPutParameters" + }, + "description": "Parameters required in an ExpressRouteGateway PUT operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting ExpressRouteGateway resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting ExpressRouteGateway resource.", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateway_Get", + "x-ms-examples": { + "ExpressRouteGatewayGet": { + "$ref": "./examples/ExpressRouteGatewayGet.json" + } + }, + "description": "Fetches the details of a ExpressRouteGateway in a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRote gateway." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Operation succeeded. The operation returns the ExpressRouteGateway.", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + } + }, + "404": { + "description": "Not found. The specified resource does not exist." + } + } + }, + "delete": { + "tags": [ + "ExpressRouteGateways" + ], + "operationId": "ExpressRouteGateway_Delete", + "x-ms-examples": { + "ExpressRouteGatewayDelete": { + "$ref": "./examples/ExpressRouteGatewayDelete.json" + } + }, + "description": "This operation deletes the specified ExpressRouteGateway in a resource group. An ExpressRouteGateway resource can only be deleted when there are no connection subresources.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRote gateway." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted and the operation will complete asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}?api-version={api-version}": { + "put": { + "tags": [ + "ExpressRouteGatewayConnections" + ], + "operationId": "ExpressRouteGatewayConnections_CreateOrUpdate", + "x-ms-examples": { + "ExpressRouteGatewayConnectionCreate": { + "$ref": "./examples/ExpressRouteGatewayConnectionCreate.json" + } + }, + "description": "Creates a connection to a ExpressRoute circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRote gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection subresource." + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayConnectionPutParameters" + }, + "description": "Parameters required in an ExpressRouteGatewayConnection PUT operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the ExpressRouteGatewayConnection.", + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayConnection" + } + }, + "201": { + "description": "Create successful. The operation returns the ExpressRouteGatewayConnection.", + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayConnection" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "ExpressRouteGatewayConnections" + ], + "operationId": "ExpressRouteGatewayConnection_Get", + "x-ms-examples": { + "ExpressRouteGatewayConnectionGet": { + "$ref": "./examples/ExpressRouteGatewayConnectionGet.json" + } + }, + "description": "Gets the specified ExpressRouteGatewayConnection.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRouteGateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRoute connection." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the ExpressRouteGatewayConnection.", + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayConnection" + } + } + } + }, + "delete": { + "tags": [ + "ExpressRouteGatewayConnections" + ], + "operationId": "ExpressRouteGatewayConnections_Delete", + "x-ms-examples": { + "ExpressRouteGatewayConnectionDelete": { + "$ref": "./examples/ExpressRouteGatewayConnectionDelete.json" + } + }, + "description": "Deletes a connection to a ExpressRoute circuit.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRote gateway." + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the connection subresource." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted, and the operation will continue asynchronously." + }, + "200": { + "description": "Delete successful." + }, + "204": { + "description": "Delete successful." + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections?api-version={api-version}": { + "get": { + "tags": [ + "ExpressRouteGatewayConnections" + ], + "operationId": "ExpressRouteGatewayConnection_List", + "x-ms-examples": { + "ExpressRouteGatewayConnectionList": { + "$ref": "./examples/ExpressRouteGatewayConnectionList.json" + } + }, + "description": "Lists ExpressRouteGatewayConnections.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "expressRouteGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ExpressRouteGateway." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful.", + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayConnectionList" + } + } + } + } + } + }, + "definitions": { + "VirtualHubId": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "The resource URI for the virtualHub where the expressRouteGateway is or will be deployed. The virtual hub resource and the ExpressRouteGateway resource reside in the same subscription." + } + }, + "description": "Virtual Hub identifier." + }, + "ExpressRouteCircuitPeeringId": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "The id of the ExpressRoute circuit peering." + } + }, + "description": "ExpressRoute circuit peering identifier." + }, + "ExpressRouteGatewayConnectionId": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "The id of the ExpressRouteGatewayConnection." + } + }, + "description": "The id of the ExpressRouteGatewayConnection." + }, + "ExpressRouteCircuitPeeringParameter":{ + "required": [ + "id" + ], + "properties": { + "id": { + "type": "string", + "description": "The id of the ExpressRoute circuit peering." + } + }, + "description": "The resource URI of the Azure Private Peering subresource." + }, + "ExpressRouteGatewayPropertiesFormat": { + "properties": { + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the resource." + }, + "virtualHub": { + "$ref": "#/definitions/VirtualHubId" + } + }, + "description": "ExpressRouteGateway resource." + }, + "ExpressRouteGateway": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteGatewayPropertiesFormat" + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/Resource" + } + ], + "description": "ExpressRouteGateway resource." + }, + "ExpressRouteGatewayList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteGateway" + }, + "description": "List of ExpressRouteGateways." + } + }, + "description": "List of ExpressRouteGateways." + }, + "ExpressRouteGatewayConnectionPropertiesFormat": { + "properties": { + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the resource." + }, + "expressRouteCircuitPeering": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringId" + }, + "authorizationKey": { + "type": "string", + "description": "Authorization key to establish connection." + }, + "circuitConnectionStatus": { + "type": "string", + "description": "The status of the connection to the circuit" + }, + "routingWeight": { + "type": "string", + "description": "The routing weight associated to the connection." + } + }, + "description": "ExpressRouteGatewayConnection resource." + }, + "ExpressRouteGatewayConnection": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteGatewayConnectionPropertiesFormat" + }, + "name": { + "type": "string", + "description": "The name of the resource." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "ExpressRouteGatewayConnection resource." + }, + "ExpressRouteGatewayConnectionList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteGatewayConnection" + } + } + }, + "description": "ExpressRouteGatewayConnection list" + }, + "ExpressRouteGatewayPutParameters": { + "required": [ + "virtualHub", + "location" + ], + "properties": { + "virtualHub": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualHubId" + }, + "autoScaleConfiguration": { + "properties": { + "bounds": { + "properties": { + "min": { + "type": "string", + "description": "Mininimum number of scale units deployed for ExpressRouteGateway. Default is 2." + }, + "max": { + "type": "string", + "description": "Maximum number of scale units deployed for ExpressRouteGateway." + } + }, + "description": "Minimum and maximum number of scale units to deploy." + } + }, + "description": "Configuration for auto scaling." + }, + "location": { + "type": "string", + "description": "Location for this resource" + } + }, + "description": "Parameters required in an ExpressRouteGateway PUT operation." + }, + "ExpressRouteGatewayConnectionPutParameters": { + "required": [ + "expressRouteCircuitPeering" + ], + "properties": { + "expressRouteCircuitPeering":{ + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExpressRouteCircuitPeeringParameter" + }, + "authorizationKey": { + "type": "string", + "description": "Authorization key to establish connection" + }, + "routingWeight": { + "type": "string", + "description": "The routing weight assigned to the connection." + } + }, + "description": "Parameters required in an ExpressRouteGateway PUT operation." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client API version." + } + } +} \ No newline at end of file diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index 49f76d74665f..97ccf422df63 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -46,6 +46,7 @@ input-file: - Microsoft.Network/stable/2018-08-01/endpointService.json - Microsoft.Network/stable/2018-08-01/expressRouteCircuit.json - Microsoft.Network/stable/2018-08-01/expressRouteCrossConnection.json + - Microsoft.Network/stable/2018-08-01/expressRouteGateway.json - Microsoft.Network/stable/2018-08-01/loadBalancer.json - Microsoft.Network/stable/2018-08-01/network.json - Microsoft.Network/stable/2018-08-01/networkInterface.json @@ -645,6 +646,9 @@ directive: - suppress: RequiredPropertiesMissingInResourceModel from: expressRouteCrossConnection.json reason: name, id and type properties are inherited from the upper level + - suppress: RequiredPropertiesMissingInResourceModel + from: expressRouteGateway.json + reason: name, id and type properties are inherited from the upper level - suppress: RequiredPropertiesMissingInResourceModel from: loadBalancer.json reason: name, id and type properties are inherited from the upper level From 78ce29312eefcdcb97206f58109f366191eec288 Mon Sep 17 00:00:00 2001 From: Javier Colomer Date: Thu, 30 Aug 2018 13:55:16 -0700 Subject: [PATCH 2/5] Refactor connections. --- .../ExpressRouteCircuitPeeringCreate.json | 6 +- .../ExpressRouteCircuitPeeringGet.json | 4 +- .../ExpressRouteCircuitPeeringList.json | 6 +- ...json => ExpressRouteConnectionCreate.json} | 20 +- ...json => ExpressRouteConnectionDelete.json} | 0 ...et.json => ExpressRouteConnectionGet.json} | 3 +- ...t.json => ExpressRouteConnectionList.json} | 3 +- .../examples/ExpressRouteGatewayCreate.json | 44 +- ...xpressRouteGatewayListByResourceGroup.json | 21 +- ...ExpressRouteGatewayListBySubscription.json | 21 +- .../examples/expressRouteCircuit.json | 1988 ----------------- .../2018-08-01/expressRouteCircuit.json | 6 +- .../2018-08-01/expressRouteGateway.json | 327 ++- 13 files changed, 235 insertions(+), 2214 deletions(-) rename specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/{ExpressRouteGatewayConnectionCreate.json => ExpressRouteConnectionCreate.json} (71%) rename specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/{ExpressRouteGatewayConnectionDelete.json => ExpressRouteConnectionDelete.json} (100%) rename specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/{ExpressRouteGatewayConnectionGet.json => ExpressRouteConnectionGet.json} (91%) rename specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/{ExpressRouteGatewayConnectionList.json => ExpressRouteConnectionList.json} (91%) delete mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/expressRouteCircuit.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringCreate.json index b728fda736c2..1abd9d31ca2e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringCreate.json @@ -34,8 +34,8 @@ "vlanId": 200, "gatewayManagerEtag": "", "lastModifiedBy": "Customer", - "expressRouteGatewayConnection": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections?api-version=2018-08-01" + "expressRouteConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } } } @@ -58,7 +58,7 @@ "vlanId": 200, "gatewayManagerEtag": "", "lastModifiedBy": "Customer", - "expressRouteGatewayConnection": "" + "expressRouteConnection": "" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json index 4d7d33902bf2..b54cd8a1cb1d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json @@ -49,8 +49,8 @@ "routingRegistryName": "ARIN" } }, - "expressRouteGatewayConnection": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections?api-version=2018-08-01" + "expressRouteConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json index 1b4764daefc0..ffaab9b7395f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringList.json @@ -50,7 +50,7 @@ "routingRegistryName": "ARIN" } }, - "expressRouteGatewayConnection": "" + "expressRouteConnection": "" } }, { @@ -70,8 +70,8 @@ "vlanId": 200, "gatewayManagerEtag": "103", "lastModifiedBy": "Customer", - "expressRouteGatewayConnection": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections?api-version=2018-08-01" + "expressRouteConnection": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionCreate.json similarity index 71% rename from specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionCreate.json rename to specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionCreate.json index 07a52dc470bf..7f2b7941e511 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionCreate.json @@ -5,11 +5,15 @@ "api-version": "2018-08-01", "subscriptionId": "subid", "connectionName": "connectionName", - "properties": { - "routingWeight": "routingWeight", - "authorizationKey": "authorizationKey", - "expressRouteCircuitPeering": { - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + "putExpressRouteConnectionParameters": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "name": "connectionName", + "properties": { + "routingWeight": 2, + "authorizationKey": "authorizationKey", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + } } } }, @@ -24,8 +28,7 @@ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" }, "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", - "circuitConnectionStatus": "Connected", - "routingWeight": "22" + "routingWeight": 2 } } }, @@ -39,8 +42,7 @@ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" }, "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", - "circuitConnectionStatus": "Connected", - "routingWeight": "22" + "routingWeight": 2 } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionDelete.json similarity index 100% rename from specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionDelete.json rename to specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionDelete.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionGet.json similarity index 91% rename from specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionGet.json rename to specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionGet.json index 97cb9b2dbcd6..f3550423c8a5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionGet.json @@ -17,8 +17,7 @@ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" }, "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", - "circuitConnectionStatus": "Connected", - "routingWeight": "22" + "routingWeight": 1 } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionList.json similarity index 91% rename from specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionList.json rename to specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionList.json index 68553d8d5dc0..d15f695bb617 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionList.json @@ -18,8 +18,7 @@ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" }, "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", - "circuitConnectionStatus": "Connected", - "routingWeight": "22" + "routingWeight": 1 } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json index 6dbced6b3b1b..200252293289 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayCreate.json @@ -1,26 +1,30 @@ { "parameters": { - "expressRouteGatewayName": "expressRouteGatewayName", + "expressRouteGatewayName": "gateway-2", + "subscriptionId": "subid", "resourceGroupName": "resourceGroupName", "api-version": "2018-08-01", - "subscriptionId": "subid", - "properties": { - "virtualHub": { - "id": "/subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName" - }, - "autoScaleConfiguration": { - "bounds": { - "min": "3" + "putExpressRouteGatewayParameters": { + "name": "gateway-2", + "type": "Microsoft.Network/expressRouteGateways", + "location": "westus", + "properties": { + "virtualHub": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": 3 + } } - }, - "location": "westus" + } } }, "responses": { "201": { "body": { - "name": "expressRouteGatewayName", - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "name": "gateway-2", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "westus", "type": "Microsoft.Network/expressRouteGateways", @@ -28,14 +32,19 @@ "provisioningState": "Succeeded", "virtualHub": { "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": 3 + } } } } }, "200": { "body": { - "name": "expressRouteGatewayName", - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "name": "gateway-2", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "westus", "type": "Microsoft.Network/expressRouteGateways", @@ -43,6 +52,11 @@ "provisioningState": "Succeeded", "virtualHub": { "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + }, + "autoScaleConfiguration": { + "bounds": { + "min": 3 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListByResourceGroup.json index 0f32b9c3a505..c15306d48153 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListByResourceGroup.json @@ -18,7 +18,26 @@ "provisioningState": "Succeeded", "virtualHub": { "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" - } + }, + "autoScaleConfiguration": { + "bounds": { + "min": 2 + } + }, + "expressRouteConnections": [ + { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "routingWeight": 1 + } + } + ] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListBySubscription.json index b188b13be78d..20d1070c546c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteGatewayListBySubscription.json @@ -17,7 +17,26 @@ "provisioningState": "Succeeded", "virtualHub": { "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" - } + }, + "autoScaleConfiguration": { + "bounds": { + "min": 2 + } + }, + "expressRouteConnections": [ + { + "name": "connectionName", + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "provisioningState": "Provisioned", + "expressRouteCircuitPeering": { + "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "routingWeight": 1 + } + } + ] } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/expressRouteCircuit.json deleted file mode 100644 index b7b98b824424..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/expressRouteCircuit.json +++ /dev/null @@ -1,1988 +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": "2018-04-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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}": { - "delete": { - "tags": [ - "ExpressRouteCircuitAuthorizations" - ], - "operationId": "ExpressRouteCircuitAuthorizations_Delete", - "description": "Deletes the specified authorization from the specified express route circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "name": "authorizationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the authorization." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "200": { - "description": "Delete successful." - }, - "204": { - "description": "Delete successful." - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete ExpressRouteCircuit Authorization": { - "$ref": "./examples/ExpressRouteCircuitAuthorizationDelete.json" - } - } - }, - "get": { - "tags": [ - "ExpressRouteCircuitAuthorizations" - ], - "operationId": "ExpressRouteCircuitAuthorizations_Get", - "description": "Gets the specified authorization from the specified express route circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "name": "authorizationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the authorization." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the ExpressRouteCircuitAuthorization resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitAuthorization" - } - } - }, - "x-ms-examples": { - "Get ExpressRouteCircuit Authorization": { - "$ref": "./examples/ExpressRouteCircuitAuthorizationGet.json" - } - } - }, - "put": { - "tags": [ - "ExpressRouteCircuitAuthorizations" - ], - "operationId": "ExpressRouteCircuitAuthorizations_CreateOrUpdate", - "description": "Creates or updates an authorization in the specified express route circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "name": "authorizationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the authorization." - }, - { - "name": "authorizationParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitAuthorization" - }, - "description": "Parameters supplied to the create or update express route circuit authorization operation." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "201": { - "description": "Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitAuthorization" - } - }, - "200": { - "description": "Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitAuthorization" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create ExpressRouteCircuit Authorization": { - "$ref": "./examples/ExpressRouteCircuitAuthorizationCreate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations": { - "get": { - "tags": [ - "ExpressRouteCircuitAuthorizations" - ], - "operationId": "ExpressRouteCircuitAuthorizations_List", - "description": "Gets all authorizations in an express route circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the circuit." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources.", - "schema": { - "$ref": "#/definitions/AuthorizationListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List ExpressRouteCircuit Authorization": { - "$ref": "./examples/ExpressRouteCircuitAuthorizationList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}": { - "delete": { - "tags": [ - "ExpressRouteCircuitPeerings" - ], - "operationId": "ExpressRouteCircuitPeerings_Delete", - "description": "Deletes the specified peering from the specified express route circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "name": "peeringName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the peering." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Delete successful." - }, - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "204": { - "description": "Delete successful." - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete ExpressRouteCircuit Peerings": { - "$ref": "./examples/ExpressRouteCircuitPeeringDelete.json" - } - } - }, - "get": { - "tags": [ - "ExpressRouteCircuitPeerings" - ], - "operationId": "ExpressRouteCircuitPeerings_Get", - "description": "Gets the specified peering for the express route circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "name": "peeringName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the peering." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitPeering" - } - } - }, - "x-ms-examples": { - "Get ExpressRouteCircuit Peering": { - "$ref": "./examples/ExpressRouteCircuitPeeringGet.json" - } - } - }, - "put": { - "tags": [ - "ExpressRouteCircuitPeerings" - ], - "operationId": "ExpressRouteCircuitPeerings_CreateOrUpdate", - "description": "Creates or updates a peering in the specified express route circuits.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "name": "peeringName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the peering." - }, - { - "name": "peeringParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitPeering" - }, - "description": "Parameters supplied to the create or update express route circuit peering operation." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitPeering" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitPeering" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create ExpressRouteCircuit Peerings": { - "$ref": "./examples/ExpressRouteCircuitPeeringCreate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings": { - "get": { - "tags": [ - "ExpressRouteCircuitPeerings" - ], - "operationId": "ExpressRouteCircuitPeerings_List", - "description": "Gets all peerings in a specified express route circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRouteCircuitPeering resources.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitPeeringListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List ExpressRouteCircuit Peerings": { - "$ref": "./examples/ExpressRouteCircuitPeeringList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}": { - "delete": { - "tags": [ - "ExpressRouteCircuitConnections" - ], - "operationId": "ExpressRouteCircuitConnections_Delete", - "description": "Deletes the specified Express Route Circuit Connection from the specified express route circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "name": "peeringName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the peering." - }, - { - "name": "connectionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit connection." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Delete successful." - }, - "202": { - "description": "Accepted and the operation will complete asynchronously." - }, - "204": { - "description": "Delete successful." - } - }, - "x-ms-examples": { - "Delete ExpressRouteCircuit": { - "$ref": "./examples/ExpressRouteCircuitConnectionDelete.json" - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "ExpressRouteCircuitConnections" - ], - "operationId": "ExpressRouteCircuitConnections_Get", - "description": "Gets the specified Express Route Circuit Connection from the specified express route circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "name": "peeringName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the peering." - }, - { - "name": "connectionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit connection." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting Express Route Circuit Connection resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitConnection" - } - } - }, - "x-ms-examples": { - "ExpressRouteCircuitConnectionGet": { - "$ref": "./examples/ExpressRouteCircuitConnectionGet.json" - } - } - }, - "put": { - "tags": [ - "ExpressRouteCircuitConnections" - ], - "operationId": "ExpressRouteCircuitConnections_CreateOrUpdate", - "description": "Creates or updates a Express Route Circuit Connection in the specified express route circuits.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "name": "peeringName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the peering." - }, - { - "name": "connectionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit connection." - }, - { - "name": "expressRouteCircuitConnectionParameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitConnection" - }, - "description": "Parameters supplied to the create or update express route circuit circuit connection operation." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitConnection" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitConnection" - } - } - }, - "x-ms-examples": { - "ExpressRouteCircuitConnectionCreate": { - "$ref": "./examples/ExpressRouteCircuitConnectionCreate.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}": { - "delete": { - "tags": [ - "ExpressRouteCircuits" - ], - "operationId": "ExpressRouteCircuits_Delete", - "description": "Deletes the specified express route circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "204": { - "description": "Delete successful." - }, - "202": { - "description": "Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation." - }, - "200": { - "description": "Delete successful." - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete ExpressRouteCircuit": { - "$ref": "./examples/ExpressRouteCircuitDelete.json" - } - } - }, - "get": { - "tags": [ - "ExpressRouteCircuits" - ], - "operationId": "ExpressRouteCircuits_Get", - "description": "Gets information about the specified express route circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of express route circuit." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting ExpressRouteCircuit resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuit" - } - } - }, - "x-ms-examples": { - "Get ExpressRouteCircuit": { - "$ref": "./examples/ExpressRouteCircuitGet.json" - } - } - }, - "put": { - "tags": [ - "ExpressRouteCircuits" - ], - "operationId": "ExpressRouteCircuits_CreateOrUpdate", - "description": "Creates or updates an express route circuit.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the circuit." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ExpressRouteCircuit" - }, - "description": "Parameters supplied to the create or update express route circuit operation." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "201": { - "description": "Create successful. The operation returns the resulting ExpressRouteCircuit resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuit" - } - }, - "200": { - "description": "Update successful. The operation returns the resulting ExpressRouteCircuit resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuit" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create ExpressRouteCircuit": { - "$ref": "./examples/ExpressRouteCircuitCreate.json" - } - } - }, - "patch": { - "tags": [ - "ExpressRouteCircuits" - ], - "operationId": "ExpressRouteCircuits_UpdateTags", - "description": "Updates an express route circuit tags.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the circuit." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./network.json#/definitions/TagsObject" - }, - "description": "Parameters supplied to update express route circuit tags." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting ExpressRouteCircuit resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuit" - } - } - }, - "x-ms-examples": { - "Update Express Route Circuit Tags": { - "$ref": "./examples/ExpressRouteCircuitUpdateTags.json" - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}": { - "post": { - "tags": [ - "ExpressRouteCircuitArpTable" - ], - "operationId": "ExpressRouteCircuits_ListArpTable", - "description": "Gets the currently advertised ARP table associated with the express route circuit in a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "name": "peeringName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the peering." - }, - { - "name": "devicePath", - "in": "path", - "required": true, - "type": "string", - "description": "The path of the device." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitsArpTableListResult" - } - }, - "202": { - "description": "Accepted and the operation will complete asynchronously." - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "List ARP Table": { - "$ref": "./examples/ExpressRouteCircuitARPTableList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}": { - "post": { - "tags": [ - "ExpressRouteCircuitRoutesTable" - ], - "operationId": "ExpressRouteCircuits_ListRoutesTable", - "description": "Gets the currently advertised routes table associated with the express route circuit in a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "name": "peeringName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the peering." - }, - { - "name": "devicePath", - "in": "path", - "required": true, - "type": "string", - "description": "The path of the device." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitsRoutesTableListResult" - } - }, - "202": { - "description": "Accepted and the operation will complete asynchronously." - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "List Route Tables": { - "$ref": "./examples/ExpressRouteCircuitRouteTableList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": { - "post": { - "tags": [ - "ExpressRouteCircuitRoutesTableSummary" - ], - "operationId": "ExpressRouteCircuits_ListRoutesTableSummary", - "description": "Gets the currently advertised routes table summary associated with the express route circuit in a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "name": "peeringName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the peering." - }, - { - "name": "devicePath", - "in": "path", - "required": true, - "type": "string", - "description": "The path of the device." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult" - } - }, - "202": { - "description": "Accepted and the operation will complete asynchronously." - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "List Route Table Summary": { - "$ref": "./examples/ExpressRouteCircuitRouteTableSummaryList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats": { - "get": { - "tags": [ - "ExpressRouteCircuitStats" - ], - "operationId": "ExpressRouteCircuits_GetStats", - "description": "Gets all the stats from an express route circuit in a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting ExpressRouteCircuitStats resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitStats" - } - } - }, - "x-ms-examples": { - "Get ExpressRoute Circuit Traffic Stats": { - "$ref": "./examples/ExpressRouteCircuitStats.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats": { - "get": { - "tags": [ - "ExpressRouteCircuitStats" - ], - "operationId": "ExpressRouteCircuits_GetPeeringStats", - "description": "Gets all stats from an express route circuit in a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "name": "circuitName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the express route circuit." - }, - { - "name": "peeringName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the peering." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting ExpressRouteCircuitStats resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitStats" - } - } - }, - "x-ms-examples": { - "Get ExpressRoute Circuit Peering Traffic Stats": { - "$ref": "./examples/ExpressRouteCircuitPeeringStats.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits": { - "get": { - "tags": [ - "ExpressRouteCircuits" - ], - "operationId": "ExpressRouteCircuits_List", - "description": "Gets all the express route circuits in a resource group.", - "parameters": [ - { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List ExpressRouteCircuits in a resource group": { - "$ref": "./examples/ExpressRouteCircuitListByResourceGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits": { - "get": { - "tags": [ - "ExpressRouteCircuits" - ], - "operationId": "ExpressRouteCircuits_ListAll", - "description": "Gets all the express route circuits in a subscription.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRouteCircuit resources.", - "schema": { - "$ref": "#/definitions/ExpressRouteCircuitListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List ExpressRouteCircuits in a subscription": { - "$ref": "./examples/ExpressRouteCircuitListBySubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders": { - "get": { - "tags": [ - "ExpressRouteServiceProviders" - ], - "operationId": "ExpressRouteServiceProviders_List", - "description": "Gets all the available express route service providers.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of ExpressRouteServiceProdiver resources.", - "schema": { - "$ref": "#/definitions/ExpressRouteServiceProviderListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List ExpressRoute providers": { - "$ref": "./examples/ExpressRouteProviderList.json" - } - } - } - } - }, - "definitions": { - "AuthorizationPropertiesFormat": { - "properties": { - "authorizationKey": { - "type": "string", - "description": "The authorization key." - }, - "authorizationUseStatus": { - "type": "string", - "description": "AuthorizationUseStatus. Possible values are: 'Available' and 'InUse'.", - "enum": [ - "Available", - "InUse" - ], - "x-ms-enum": { - "name": "AuthorizationUseStatus", - "modelAsString": true - } - }, - "provisioningState": { - "type": "string", - "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." - } - } - }, - "ExpressRouteCircuitAuthorization": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AuthorizationPropertiesFormat" - }, - "name": { - "type": "string", - "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ], - "description": "Authorization in an ExpressRouteCircuit resource." - }, - "AuthorizationListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteCircuitAuthorization" - }, - "description": "The authorizations in an ExpressRoute Circuit." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit." - }, - "ExpressRouteCircuitPeeringConfig": { - "properties": { - "advertisedPublicPrefixes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The reference of AdvertisedPublicPrefixes." - }, - "advertisedCommunities": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The communities of bgp peering. Spepcified for microsoft peering" - }, - "advertisedPublicPrefixesState": { - "type": "string", - "description": "AdvertisedPublicPrefixState of the Peering resource. Possible values are 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'.", - "enum": [ - "NotConfigured", - "Configuring", - "Configured", - "ValidationNeeded" - ], - "x-ms-enum": { - "name": "ExpressRouteCircuitPeeringAdvertisedPublicPrefixState", - "modelAsString": true - } - }, - "legacyMode": { - "type": "integer", - "format": "int32", - "description": "The legacy mode of the peering." - }, - "customerASN": { - "type": "integer", - "format": "int32", - "description": "The CustomerASN of the peering." - }, - "routingRegistryName": { - "type": "string", - "description": "The RoutingRegistryName of the configuration." - } - }, - "description": "Specifies the peering configuration." - }, - "Ipv6ExpressRouteCircuitPeeringConfig": { - "properties": { - "primaryPeerAddressPrefix": { - "type": "string", - "description": "The primary address prefix." - }, - "secondaryPeerAddressPrefix": { - "type": "string", - "description": "The secondary address prefix." - }, - "microsoftPeeringConfig": { - "$ref": "#/definitions/ExpressRouteCircuitPeeringConfig", - "description": "The Microsoft peering configuration." - }, - "routeFilter": { - "$ref": "./routeFilter.json#/definitions/RouteFilter", - "description": "The reference of the RouteFilter resource." - }, - "state": { - "type": "string", - "description": "The state of peering. Possible values are: 'Disabled' and 'Enabled'", - "enum": [ - "Disabled", - "Enabled" - ], - "x-ms-enum": { - "name": "ExpressRouteCircuitPeeringState", - "modelAsString": true - } - } - }, - "description": "Contains IPv6 peering config." - }, - "ExpressRouteCircuitStats": { - "properties": { - "primarybytesIn": { - "type": "integer", - "format": "int64", - "description": "Gets BytesIn of the peering." - }, - "primarybytesOut": { - "type": "integer", - "format": "int64", - "description": "Gets BytesOut of the peering." - }, - "secondarybytesIn": { - "type": "integer", - "format": "int64", - "description": "Gets BytesIn of the peering." - }, - "secondarybytesOut": { - "type": "integer", - "format": "int64", - "description": "Gets BytesOut of the peering." - } - }, - "description": "Contains stats associated with the peering." - }, - "ExpressRouteCircuitPeeringPropertiesFormat": { - "properties": { - "peeringType": { - "$ref": "#/definitions/ExpressRoutePeeringType", - "description": "The peering type." - }, - "state": { - "$ref": "#/definitions/ExpressRoutePeeringState", - "description": "The peering state." - }, - "azureASN": { - "type": "integer", - "format": "int32", - "description": "The Azure ASN." - }, - "peerASN": { - "type": "integer", - "format": "int64", - "minimum": 1, - "maximum": 4294967295, - "description": "The peer ASN." - }, - "primaryPeerAddressPrefix": { - "type": "string", - "description": "The primary address prefix." - }, - "secondaryPeerAddressPrefix": { - "type": "string", - "description": "The secondary address prefix." - }, - "primaryAzurePort": { - "type": "string", - "description": "The primary port." - }, - "secondaryAzurePort": { - "type": "string", - "description": "The secondary port." - }, - "sharedKey": { - "type": "string", - "description": "The shared key." - }, - "vlanId": { - "type": "integer", - "format": "int32", - "description": "The VLAN ID." - }, - "microsoftPeeringConfig": { - "$ref": "#/definitions/ExpressRouteCircuitPeeringConfig", - "description": "The Microsoft peering configuration." - }, - "stats": { - "$ref": "#/definitions/ExpressRouteCircuitStats", - "description": "Gets peering stats." - }, - "provisioningState": { - "type": "string", - "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." - }, - "gatewayManagerEtag": { - "type": "string", - "description": "The GatewayManager Etag." - }, - "lastModifiedBy": { - "type": "string", - "description": "Gets whether the provider or the customer last modified the peering." - }, - "routeFilter": { - "$ref": "./routeFilter.json#/definitions/RouteFilter", - "description": "The reference of the RouteFilter resource." - }, - "ipv6PeeringConfig": { - "$ref": "#/definitions/Ipv6ExpressRouteCircuitPeeringConfig", - "description": "The IPv6 peering configuration." - }, - "expressRouteGatewayConnection" : { - "$ref": "./expressRouteGateway.json#/definitions/ExpressRouteGatewayConnectionId", - "description": "The ExpressRouteGatewayConnection." - }, - "connections": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteCircuitConnection" - }, - "description": "The list of circuit connections associated with Azure Private Peering for this circuit." - } - } - }, - "ExpressRouteCircuitPeering": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteCircuitPeeringPropertiesFormat" - }, - "name": { - "type": "string", - "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ], - "description": "Peering in an ExpressRouteCircuit resource." - }, - "ExpressRouteCircuitPeeringListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteCircuitPeering" - }, - "description": "The peerings in an express route circuit." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit." - }, - "ExpressRoutePeeringType": { - "type": "string", - "description": "The PeeringType. Possible values are: 'AzurePublicPeering', 'AzurePrivatePeering', and 'MicrosoftPeering'.", - "enum": [ - "AzurePublicPeering", - "AzurePrivatePeering", - "MicrosoftPeering" - ], - "x-ms-enum": { - "name": "ExpressRoutePeeringType", - "modelAsString": true - } - }, - "ExpressRoutePeeringState": { - "type": "string", - "description": "The state of peering. Possible values are: 'Disabled' and 'Enabled'", - "enum": [ - "Disabled", - "Enabled" - ], - "x-ms-enum": { - "name": "ExpressRoutePeeringState", - "modelAsString": true - } - }, - "ExpressRouteCircuitConnectionPropertiesFormat": { - "properties": { - "expressRouteCircuitPeering": { - "$ref": "./network.json#/definitions/SubResource", - "description": "Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection." - }, - "peerExpressRouteCircuitPeering": { - "$ref": "./network.json#/definitions/SubResource", - "description": "Reference to Express Route Circuit Private Peering Resource of the peered circuit." - }, - "addressPrefix": { - "type": "string", - "description": "/29 IP address space to carve out Customer addresses for tunnels." - }, - "authorizationKey": { - "type": "string", - "description": "The authorization key." - }, - "circuitConnectionStatus": { - "type": "string", - "description": "Express Route Circuit Connection State. Possible values are: 'Connected' and 'Disconnected'.", - "enum": [ - "Connected", - "Connecting", - "Disconnected" - ], - "readOnly": true, - "x-ms-enum": { - "name": "circuitConnectionStatus", - "modelAsString": true - } - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "Provisioning state of the circuit connection resource. Possible values are: 'Succeded', 'Updating', 'Deleting', and 'Failed'." - } - } - }, - "ExpressRouteCircuitConnection": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteCircuitConnectionPropertiesFormat" - }, - "name": { - "type": "string", - "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/SubResource" - } - ], - "description": "Express Route Circuit Connection in an ExpressRouteCircuitPeering resource." - }, - "ExpressRouteCircuitSku": { - "properties": { - "name": { - "type": "string", - "description": "The name of the SKU." - }, - "tier": { - "type": "string", - "description": "The tier of the SKU. Possible values are 'Standard' and 'Premium'.", - "enum": [ - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "ExpressRouteCircuitSkuTier", - "modelAsString": true - } - }, - "family": { - "type": "string", - "description": "The family of the SKU. Possible values are: 'UnlimitedData' and 'MeteredData'.", - "enum": [ - "UnlimitedData", - "MeteredData" - ], - "x-ms-enum": { - "name": "ExpressRouteCircuitSkuFamily", - "modelAsString": true - } - } - }, - "description": "Contains SKU in an ExpressRouteCircuit." - }, - "ExpressRouteCircuitServiceProviderProperties": { - "properties": { - "serviceProviderName": { - "type": "string", - "description": "The serviceProviderName." - }, - "peeringLocation": { - "type": "string", - "description": "The peering location." - }, - "bandwidthInMbps": { - "type": "integer", - "format": "int32", - "description": "The BandwidthInMbps." - } - }, - "description": "Contains ServiceProviderProperties in an ExpressRouteCircuit." - }, - "ExpressRouteCircuitPropertiesFormat": { - "properties": { - "allowClassicOperations": { - "type": "boolean", - "description": "Allow classic operations" - }, - "circuitProvisioningState": { - "type": "string", - "description": "The CircuitProvisioningState state of the resource." - }, - "serviceProviderProvisioningState": { - "type": "string", - "description": "The ServiceProviderProvisioningState state of the resource. Possible values are 'NotProvisioned', 'Provisioning', 'Provisioned', and 'Deprovisioning'.", - "enum": [ - "NotProvisioned", - "Provisioning", - "Provisioned", - "Deprovisioning" - ], - "x-ms-enum": { - "name": "ServiceProviderProvisioningState", - "modelAsString": true - } - }, - "authorizations": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteCircuitAuthorization" - }, - "description": "The list of authorizations." - }, - "peerings": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteCircuitPeering" - }, - "description": "The list of peerings." - }, - "serviceKey": { - "type": "string", - "description": "The ServiceKey." - }, - "serviceProviderNotes": { - "type": "string", - "description": "The ServiceProviderNotes." - }, - "serviceProviderProperties": { - "$ref": "#/definitions/ExpressRouteCircuitServiceProviderProperties", - "description": "The ServiceProviderProperties." - }, - "provisioningState": { - "type": "string", - "description": "Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'." - }, - "gatewayManagerEtag": { - "type": "string", - "description": "The GatewayManager Etag." - } - }, - "description": "Properties of ExpressRouteCircuit." - }, - "ExpressRouteCircuit": { - "properties": { - "sku": { - "$ref": "#/definitions/ExpressRouteCircuitSku", - "description": "The SKU." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteCircuitPropertiesFormat" - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "Gets a unique read-only string that changes whenever the resource is updated." - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "ExpressRouteCircuit resource" - }, - "ExpressRouteCircuitArpTable": { - "properties": { - "age": { - "type": "integer", - "format": "int32", - "description": "Entry age in minutes" - }, - "interface": { - "type": "string", - "description": "Interface address" - }, - "ipAddress": { - "type": "string", - "description": "The IP address." - }, - "macAddress": { - "type": "string", - "description": "The MAC address." - } - }, - "description": "The ARP table associated with the ExpressRouteCircuit." - }, - "ExpressRouteCircuitsArpTableListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteCircuitArpTable" - }, - "description": "Gets list of the ARP table." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "Response for ListArpTable associated with the Express Route Circuits API." - }, - "ExpressRouteCircuitRoutesTable": { - "properties": { - "network": { - "type": "string", - "description": "IP address of a network entity" - }, - "nextHop": { - "type": "string", - "description": "NextHop address" - }, - "locPrf": { - "type": "string", - "description": "Local preference value as set with the set local-preference route-map configuration command" - }, - "weight": { - "type": "integer", - "format": "int32", - "description": "Route Weight." - }, - "path": { - "type": "string", - "description": "Autonomous system paths to the destination network." - } - }, - "description": "The routes table associated with the ExpressRouteCircuit" - }, - "ExpressRouteCircuitsRoutesTableListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteCircuitRoutesTable" - }, - "description": "The list of routes table." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "Response for ListRoutesTable associated with the Express Route Circuits API." - }, - "ExpressRouteCircuitRoutesTableSummary": { - "properties": { - "neighbor": { - "type": "string", - "description": "IP address of the neighbor." - }, - "v": { - "type": "integer", - "format": "int32", - "description": "BGP version number spoken to the neighbor." - }, - "as": { - "type": "integer", - "format": "int32", - "description": "Autonomous system number." - }, - "upDown": { - "type": "string", - "description": "The length of time that the BGP session has been in the Established state, or the current status if not in the Established state." - }, - "statePfxRcd": { - "type": "string", - "description": "Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group." - } - }, - "description": "The routes table associated with the ExpressRouteCircuit." - }, - "ExpressRouteCircuitsRoutesTableSummaryListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteCircuitRoutesTableSummary" - }, - "description": "A list of the routes table." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "Response for ListRoutesTable associated with the Express Route Circuits API." - }, - "ExpressRouteCircuitListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteCircuit" - }, - "description": "A list of ExpressRouteCircuits in a resource group." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "Response for ListExpressRouteCircuit API service call." - }, - "ExpressRouteServiceProviderBandwidthsOffered": { - "properties": { - "offerName": { - "type": "string", - "description": "The OfferName." - }, - "valueInMbps": { - "type": "integer", - "format": "int32", - "description": "The ValueInMbps." - } - }, - "description": "Contains bandwidths offered in ExpressRouteServiceProvider resources." - }, - "ExpressRouteServiceProviderPropertiesFormat": { - "properties": { - "peeringLocations": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Get a list of peering locations." - }, - "bandwidthsOffered": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteServiceProviderBandwidthsOffered" - }, - "description": "Gets bandwidths offered." - }, - "provisioningState": { - "type": "string", - "description": "Gets the provisioning state of the resource." - } - }, - "description": "Properties of ExpressRouteServiceProvider." - }, - "ExpressRouteServiceProvider": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteServiceProviderPropertiesFormat" - } - }, - "allOf": [ - { - "$ref": "./network.json#/definitions/Resource" - } - ], - "description": "A ExpressRouteResourceProvider object." - }, - "ExpressRouteServiceProviderListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteServiceProvider" - }, - "description": "A list of ExpressRouteResourceProvider resources." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "Response for the ListExpressRouteServiceProvider API service call." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client API version." - } - } -} \ No newline at end of file diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteCircuit.json index 31b44006b78b..4f473683ee8a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteCircuit.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteCircuit.json @@ -1448,9 +1448,9 @@ "$ref": "#/definitions/Ipv6ExpressRouteCircuitPeeringConfig", "description": "The IPv6 peering configuration." }, - "expressRouteGatewayConnection" : { - "$ref": "./expressRouteGateway.json#/definitions/ExpressRouteGatewayConnectionId", - "description": "The ExpressRouteGatewayConnection." + "expressRouteConnection" : { + "$ref": "./expressRouteGateway.json#/definitions/ExpressRouteConnectionId", + "description": "The ExpressRoute connection." }, "connections": { "type": "array", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json index 7532000e4382..3b255e57b4c1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json @@ -34,24 +34,24 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways?api-version={api-version}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways": { "get": { "tags": [ "ExpressRouteGateways" ], - "operationId": "ExpressRouteGateway_ListBySubscription", + "operationId": "ExpressRouteGateways_ListBySubscription", "x-ms-examples": { "ExpressRouteGatewayListBySubscription": { "$ref": "./examples/ExpressRouteGatewayListBySubscription.json" } }, - "description": "Lists ExpressRouteGateways under a given subscription.", + "description": "Lists ExpressRoute gateways under a given subscription.", "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./network.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -64,18 +64,18 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways?api-version={api-version}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways": { "get": { "tags": [ "ExpressRouteGateways" ], - "operationId": "ExpressRouteGateway_ListByResourceGroup", + "operationId": "ExpressRouteGateways_ListByResourceGroup", "x-ms-examples": { "ExpressRouteGatewayListByResourceGroup": { "$ref": "./examples/ExpressRouteGatewayListByResourceGroup.json" } }, - "description": "Lists ExpressRouteGateways in a given resource group.", + "description": "Lists ExpressRoute gateways in a given resource group.", "parameters": [ { "name": "resourceGroupName", @@ -85,10 +85,10 @@ "description": "The name of the resource group." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./network.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -101,18 +101,18 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}?api-version={api-version}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}": { "put": { "tags": [ "ExpressRouteGateways" ], - "operationId": "ExpressRouteGateway_CreateOrUpdate", + "operationId": "ExpressRouteGateways_CreateOrUpdate", "x-ms-examples": { "ExpressRouteGatewayCreate": { "$ref": "./examples/ExpressRouteGatewayCreate.json" } }, - "description": "Creates or updates a ExpressRouteGateway in a specified resource group.", + "description": "Creates or updates a ExpressRoute gateway in a specified resource group.", "parameters": [ { "name": "resourceGroupName", @@ -126,33 +126,33 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the ExpressRote gateway." + "description": "The name of the ExpressRoute gateway." }, { - "name": "properties", + "name": "putExpressRouteGatewayParameters", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ExpressRouteGatewayPutParameters" + "$ref": "#/definitions/ExpressRouteGateway" }, - "description": "Parameters required in an ExpressRouteGateway PUT operation." + "description": "Parameters required in an ExpressRoute gateway PUT operation." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./network.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "Update successful. The operation returns the resulting ExpressRouteGateway resource.", + "description": "Update successful. The operation returns the resulting ExpressRoute gateway resource.", "schema": { "$ref": "#/definitions/ExpressRouteGateway" } }, "201": { - "description": "Create successful. The operation returns the resulting ExpressRouteGateway resource.", + "description": "Create successful. The operation returns the resulting ExpressRoute gateway resource.", "schema": { "$ref": "#/definitions/ExpressRouteGateway" } @@ -164,13 +164,13 @@ "tags": [ "ExpressRouteGateways" ], - "operationId": "ExpressRouteGateway_Get", + "operationId": "ExpressRouteGateways_Get", "x-ms-examples": { "ExpressRouteGatewayGet": { "$ref": "./examples/ExpressRouteGatewayGet.json" } }, - "description": "Fetches the details of a ExpressRouteGateway in a resource group.", + "description": "Fetches the details of a ExpressRoute gateway in a resource group.", "parameters": [ { "name": "resourceGroupName", @@ -184,18 +184,18 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the ExpressRote gateway." + "description": "The name of the ExpressRoute gateway." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./network.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "Operation succeeded. The operation returns the ExpressRouteGateway.", + "description": "Operation succeeded. The operation returns the ExpressRoute gateway.", "schema": { "$ref": "#/definitions/ExpressRouteGateway" } @@ -209,13 +209,13 @@ "tags": [ "ExpressRouteGateways" ], - "operationId": "ExpressRouteGateway_Delete", + "operationId": "ExpressRouteGateways_Delete", "x-ms-examples": { "ExpressRouteGatewayDelete": { "$ref": "./examples/ExpressRouteGatewayDelete.json" } }, - "description": "This operation deletes the specified ExpressRouteGateway in a resource group. An ExpressRouteGateway resource can only be deleted when there are no connection subresources.", + "description": "Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.", "parameters": [ { "name": "resourceGroupName", @@ -229,13 +229,13 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the ExpressRote gateway." + "description": "The name of the ExpressRoute gateway." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./network.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -252,18 +252,18 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}?api-version={api-version}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}": { "put": { "tags": [ - "ExpressRouteGatewayConnections" + "ExpressRouteConnections" ], - "operationId": "ExpressRouteGatewayConnections_CreateOrUpdate", + "operationId": "ExpressRouteConnections_CreateOrUpdate", "x-ms-examples": { - "ExpressRouteGatewayConnectionCreate": { - "$ref": "./examples/ExpressRouteGatewayConnectionCreate.json" + "ExpressRouteConnectionCreate": { + "$ref": "./examples/ExpressRouteConnectionCreate.json" } }, - "description": "Creates a connection to a ExpressRoute circuit.", + "description": "Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.", "parameters": [ { "name": "resourceGroupName", @@ -277,7 +277,7 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the ExpressRote gateway." + "description": "The name of the ExpressRoute gateway." }, { "name": "connectionName", @@ -287,32 +287,32 @@ "description": "The name of the connection subresource." }, { - "name": "properties", + "name": "putExpressRouteConnectionParameters", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/ExpressRouteGatewayConnectionPutParameters" + "$ref": "#/definitions/ExpressRouteConnection" }, - "description": "Parameters required in an ExpressRouteGatewayConnection PUT operation." + "description": "Parameters required in an ExpressRouteConnection PUT operation." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./network.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "Update successful. The operation returns the ExpressRouteGatewayConnection.", + "description": "Update successful. The operation returns the ExpressRouteConnection.", "schema": { - "$ref": "#/definitions/ExpressRouteGatewayConnection" + "$ref": "#/definitions/ExpressRouteConnection" } }, "201": { - "description": "Create successful. The operation returns the ExpressRouteGatewayConnection.", + "description": "Create successful. The operation returns the ExpressRouteConnection.", "schema": { - "$ref": "#/definitions/ExpressRouteGatewayConnection" + "$ref": "#/definitions/ExpressRouteConnection" } } }, @@ -320,15 +320,15 @@ }, "get": { "tags": [ - "ExpressRouteGatewayConnections" + "ExpressRouteConnections" ], - "operationId": "ExpressRouteGatewayConnection_Get", + "operationId": "ExpressRouteConnections_Get", "x-ms-examples": { - "ExpressRouteGatewayConnectionGet": { - "$ref": "./examples/ExpressRouteGatewayConnectionGet.json" + "ExpressRouteConnectionGet": { + "$ref": "./examples/ExpressRouteConnectionGet.json" } }, - "description": "Gets the specified ExpressRouteGatewayConnection.", + "description": "Gets the specified ExpressRouteConnection.", "parameters": [ { "name": "resourceGroupName", @@ -342,7 +342,7 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the ExpressRouteGateway." + "description": "The name of the ExpressRoute gateway." }, { "name": "connectionName", @@ -352,29 +352,29 @@ "description": "The name of the ExpressRoute connection." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./network.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "Request successful. The operation returns the ExpressRouteGatewayConnection.", + "description": "Request successful. The operation returns the ExpressRouteConnection.", "schema": { - "$ref": "#/definitions/ExpressRouteGatewayConnection" + "$ref": "#/definitions/ExpressRouteConnection" } } } }, "delete": { "tags": [ - "ExpressRouteGatewayConnections" + "ExpressRouteConnections" ], - "operationId": "ExpressRouteGatewayConnections_Delete", + "operationId": "ExpressRouteConnections_Delete", "x-ms-examples": { - "ExpressRouteGatewayConnectionDelete": { - "$ref": "./examples/ExpressRouteGatewayConnectionDelete.json" + "ExpressRouteConnectionDelete": { + "$ref": "./examples/ExpressRouteConnectionDelete.json" } }, "description": "Deletes a connection to a ExpressRoute circuit.", @@ -391,7 +391,7 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the ExpressRote gateway." + "description": "The name of the ExpressRoute gateway." }, { "name": "connectionName", @@ -401,10 +401,10 @@ "description": "The name of the connection subresource." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./network.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -421,18 +421,18 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections?api-version={api-version}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections": { "get": { "tags": [ - "ExpressRouteGatewayConnections" + "ExpressRouteConnections" ], - "operationId": "ExpressRouteGatewayConnection_List", + "operationId": "ExpressRouteConnections_List", "x-ms-examples": { - "ExpressRouteGatewayConnectionList": { - "$ref": "./examples/ExpressRouteGatewayConnectionList.json" + "ExpressRouteConnectionList": { + "$ref": "./examples/ExpressRouteConnectionList.json" } }, - "description": "Lists ExpressRouteGatewayConnections.", + "description": "Lists ExpressRouteConnections.", "parameters": [ { "name": "resourceGroupName", @@ -446,20 +446,20 @@ "in": "path", "required": true, "type": "string", - "description": "The name of the ExpressRouteGateway." + "description": "The name of the ExpressRoute gateway." }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./network.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/SubscriptionIdParameter" + "$ref": "./network.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "Request successful.", "schema": { - "$ref": "#/definitions/ExpressRouteGatewayConnectionList" + "$ref": "#/definitions/ExpressRouteConnectionList" } } } @@ -471,8 +471,7 @@ "properties": { "id": { "type": "string", - "readOnly": true, - "description": "The resource URI for the virtualHub where the expressRouteGateway is or will be deployed. The virtual hub resource and the ExpressRouteGateway resource reside in the same subscription." + "description": "The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription." } }, "description": "Virtual Hub identifier." @@ -481,52 +480,73 @@ "properties": { "id": { "type": "string", - "readOnly": true, - "description": "The id of the ExpressRoute circuit peering." + "description": "The ID of the ExpressRoute circuit peering." } }, "description": "ExpressRoute circuit peering identifier." }, - "ExpressRouteGatewayConnectionId": { + "ExpressRouteConnectionId": { "properties": { "id": { "type": "string", "readOnly": true, - "description": "The id of the ExpressRouteGatewayConnection." + "description": "The ID of the ExpressRouteConnection." } }, - "description": "The id of the ExpressRouteGatewayConnection." + "description": "The ID of the ExpressRouteConnection." }, - "ExpressRouteCircuitPeeringParameter":{ + "ExpressRouteGatewayProperties": { "required": [ - "id" + "virtualHub" ], "properties": { - "id": { - "type": "string", - "description": "The id of the ExpressRoute circuit peering." - } - }, - "description": "The resource URI of the Azure Private Peering subresource." - }, - "ExpressRouteGatewayPropertiesFormat": { - "properties": { + "autoScaleConfiguration": { + "properties": { + "bounds": { + "properties": { + "min": { + "type": "integer", + "description": "Minimum number of scale units deployed for ExpressRoute gateway." + }, + "max": { + "type": "integer", + "description": "Maximum number of scale units deployed for ExpressRoute gateway." + } + }, + "description": "Minimum and maximum number of scale units to deploy." + } + }, + "description": "Configuration for auto scaling." + }, + "expressRouteConnections": { + "type": "array", + "readOnly": true, + "description": "List of ExpressRoute connections to the ExpressRoute gateway.", + "items": { + "$ref": "#/definitions/ExpressRouteConnection" + } + }, "provisioningState": { "type": "string", "readOnly": true, - "description": "The provisioning state of the resource." + "description": "The provisioning state of the resource.", + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } }, "virtualHub": { + "x-ms-client-flatten": true, "$ref": "#/definitions/VirtualHubId" } }, - "description": "ExpressRouteGateway resource." + "description": "ExpressRoute gateway resource properties." }, "ExpressRouteGateway": { "properties": { "properties": { "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteGatewayPropertiesFormat" + "$ref": "#/definitions/ExpressRouteGatewayProperties" }, "etag": { "type": "string", @@ -539,7 +559,7 @@ "$ref": "./network.json#/definitions/Resource" } ], - "description": "ExpressRouteGateway resource." + "description": "ExpressRoute gateway resource." }, "ExpressRouteGatewayList": { "properties": { @@ -548,41 +568,48 @@ "items": { "$ref": "#/definitions/ExpressRouteGateway" }, - "description": "List of ExpressRouteGateways." + "description": "List of ExpressRoute gateways." } }, - "description": "List of ExpressRouteGateways." + "description": "List of ExpressRoute gateways." }, - "ExpressRouteGatewayConnectionPropertiesFormat": { + "ExpressRouteConnectionProperties": { + "required": [ + "expressRouteCircuitPeering" + ], "properties": { "provisioningState": { "type": "string", "readOnly": true, - "description": "The provisioning state of the resource." + "description": "The provisioning state of the resource.", + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } }, "expressRouteCircuitPeering": { + "x-ms-client-flatten": true, "$ref": "#/definitions/ExpressRouteCircuitPeeringId" }, "authorizationKey": { "type": "string", - "description": "Authorization key to establish connection." - }, - "circuitConnectionStatus": { - "type": "string", - "description": "The status of the connection to the circuit" + "description": "Authorization key to establish the connection." }, "routingWeight": { - "type": "string", + "type": "integer", "description": "The routing weight associated to the connection." } }, - "description": "ExpressRouteGatewayConnection resource." + "description": "Properties of the ExpressRouteConnection subresource." }, - "ExpressRouteGatewayConnection": { + "ExpressRouteConnection": { + "required": [ + "name" + ], "properties": { "properties": { "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteGatewayConnectionPropertiesFormat" + "$ref": "#/definitions/ExpressRouteConnectionProperties" }, "name": { "type": "string", @@ -594,89 +621,19 @@ "$ref": "./network.json#/definitions/SubResource" } ], - "description": "ExpressRouteGatewayConnection resource." + "description": "ExpressRouteConnection resource." }, - "ExpressRouteGatewayConnectionList": { + "ExpressRouteConnectionList": { "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/ExpressRouteGatewayConnection" - } - } - }, - "description": "ExpressRouteGatewayConnection list" - }, - "ExpressRouteGatewayPutParameters": { - "required": [ - "virtualHub", - "location" - ], - "properties": { - "virtualHub": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/VirtualHubId" - }, - "autoScaleConfiguration": { - "properties": { - "bounds": { - "properties": { - "min": { - "type": "string", - "description": "Mininimum number of scale units deployed for ExpressRouteGateway. Default is 2." - }, - "max": { - "type": "string", - "description": "Maximum number of scale units deployed for ExpressRouteGateway." - } - }, - "description": "Minimum and maximum number of scale units to deploy." - } + "$ref": "#/definitions/ExpressRouteConnection" }, - "description": "Configuration for auto scaling." - }, - "location": { - "type": "string", - "description": "Location for this resource" - } - }, - "description": "Parameters required in an ExpressRouteGateway PUT operation." - }, - "ExpressRouteGatewayConnectionPutParameters": { - "required": [ - "expressRouteCircuitPeering" - ], - "properties": { - "expressRouteCircuitPeering":{ - "x-ms-client-flatten": true, - "$ref": "#/definitions/ExpressRouteCircuitPeeringParameter" - }, - "authorizationKey": { - "type": "string", - "description": "Authorization key to establish connection" - }, - "routingWeight": { - "type": "string", - "description": "The routing weight assigned to the connection." + "description": "The list of ExpressRoute connections" } }, - "description": "Parameters required in an ExpressRouteGateway PUT operation." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client API version." + "description": "ExpressRouteConnection list" } } } \ No newline at end of file From 5701cb81d93cd0f0862baa0fc200249e62b42088 Mon Sep 17 00:00:00 2001 From: Javier Colomer Date: Thu, 30 Aug 2018 14:43:26 -0700 Subject: [PATCH 3/5] Update API version --- .../stable/2018-08-01/expressRouteGateway.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json index 3b255e57b4c1..fe707305521d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.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": "2018-04-01" + "version": "2018-08-01" }, "host": "management.azure.com", "schemes": [ From 356d0274fc0792deae06e8392665a5bd6b1a0808 Mon Sep 17 00:00:00 2001 From: Javier Colomer Date: Thu, 30 Aug 2018 15:18:23 -0700 Subject: [PATCH 4/5] Add enum values. --- .../stable/2018-08-01/expressRouteGateway.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json index fe707305521d..f7d01aa8d423 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/expressRouteGateway.json @@ -530,6 +530,12 @@ "type": "string", "readOnly": true, "description": "The provisioning state of the resource.", + "enum":[ + "Succeeded", + "Updating", + "Deleting", + "Failed" + ], "x-ms-enum": { "name": "ProvisioningState", "modelAsString": true @@ -582,6 +588,12 @@ "type": "string", "readOnly": true, "description": "The provisioning state of the resource.", + "enum":[ + "Succeeded", + "Updating", + "Deleting", + "Failed" + ], "x-ms-enum": { "name": "ProvisioningState", "modelAsString": true From f87ace73b760544e78987c7f0175a5b5ab36e638 Mon Sep 17 00:00:00 2001 From: Javier Colomer Date: Fri, 31 Aug 2018 14:05:17 -0700 Subject: [PATCH 5/5] Addressed all comments. --- .../examples/ExpressRouteCircuitPeeringGet.json | 3 --- .../examples/ExpressRouteConnectionCreate.json | 10 +++++----- .../2018-08-01/examples/ExpressRouteConnectionGet.json | 2 +- .../examples/ExpressRouteConnectionList.json | 2 +- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json index b54cd8a1cb1d..c7e6d38d4922 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteCircuitPeeringGet.json @@ -48,9 +48,6 @@ "legacyMode": 0, "routingRegistryName": "ARIN" } - }, - "expressRouteConnection": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionCreate.json index 7f2b7941e511..8fcfca5fbc2c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionCreate.json @@ -12,7 +12,7 @@ "routingWeight": 2, "authorizationKey": "authorizationKey", "expressRouteCircuitPeering": { - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" } } } @@ -25,9 +25,9 @@ "properties": { "provisioningState": "Provisioned", "expressRouteCircuitPeering": { - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" }, - "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "authorizationKey": "authorizationKey", "routingWeight": 2 } } @@ -39,9 +39,9 @@ "properties": { "provisioningState": "Provisioned", "expressRouteCircuitPeering": { - "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" }, - "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "authorizationKey": "authorizationKey", "routingWeight": 2 } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionGet.json index f3550423c8a5..8a6d0e192fe2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionGet.json @@ -16,7 +16,7 @@ "expressRouteCircuitPeering": { "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" }, - "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "authorizationKey": "authorizationKey", "routingWeight": 1 } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionList.json index d15f695bb617..387878edb546 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/examples/ExpressRouteConnectionList.json @@ -17,7 +17,7 @@ "expressRouteCircuitPeering": { "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" }, - "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "authorizationKey": "authorizationKey", "routingWeight": 1 } }