From ff7010ee5b5a865094423c6dafa295242be608a2 Mon Sep 17 00:00:00 2001 From: GimotwanMSFT Date: Mon, 4 Jun 2018 18:41:14 -0700 Subject: [PATCH 1/3] Add examples for Express Route Circuit APIs --- .../ExpressRouteCircuitARPTableList.json | 32 +++ ...xpressRouteCircuitAuthorizationCreate.json | 121 +++++++++ ...xpressRouteCircuitAuthorizationDelete.json | 20 ++ .../ExpressRouteCircuitAuthorizationGet.json | 21 ++ .../ExpressRouteCircuitAuthorizationList.json | 24 ++ .../examples/ExpressRouteCircuitCreate.json | 86 ++++++ .../examples/ExpressRouteCircuitDelete.json | 13 + .../examples/ExpressRouteCircuitGet.json | 39 +++ ...xpressRouteCircuitListByResourceGroup.json | 91 +++++++ ...ExpressRouteCircuitListBySubscription.json | 90 +++++++ .../ExpressRouteCircuitPeeringCreate.json | 254 ++++++++++++++++++ .../ExpressRouteCircuitPeeringDelete.json | 14 + .../ExpressRouteCircuitPeeringGet.json | 55 ++++ .../ExpressRouteCircuitPeeringList.json | 77 ++++++ .../ExpressRouteCircuitPeeringStats.json | 17 ++ .../ExpressRouteCircuitRouteTableList.json | 34 +++ ...ressRouteCircuitRouteTableSummaryList.json | 34 +++ .../examples/ExpressRouteCircuitStats.json | 16 ++ .../examples/ExpressRouteProviderList.json | 58 ++++ .../2018-06-01/expressRouteCircuit.json | 80 +++++- 20 files changed, 1164 insertions(+), 12 deletions(-) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListBySubscription.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringCreate.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteProviderList.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json new file mode 100644 index 000000000000..809d94279736 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "expressRouteCircuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2017-11-01", + "subscriptionId": "subid", + "peeringName": "peeringName", + "devicePath": "devicePath" + }, + "responses": { + "200": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "IPAddress", + "macAddress": "macAddress" + } + ] + }, + "202": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "IPAddress", + "macAddress": "macAddress" + } + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json new file mode 100644 index 000000000000..64f998e16f2f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json @@ -0,0 +1,121 @@ +{ + "parameters":{ + "expressRouteCircuitName":"circuitName", + "resourceGroupName":"rg1", + "api-version":"2017-11-01", + "subscriptionId":"subid", + "expressRouteCircuitParameters":{ + "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "location":"westus", + "properties":{ + "peerings":[ + + ], + "authorizations":[ + { + "name":"MyAuthorization1" + } + ], + "serviceProviderProperties":{ + "serviceProviderName":"Microsoft ER Test", + "peeringLocation":"Area51", + "bandwidthInMbps":200 + }, + "allowClassicOperations":false, + "gatewayManagerEtag":"", + "serviceKey":"6569625a-9ba4-498b-9719-14d778eef609" + }, + "sku":{ + "name":"Standard_MeteredData", + "tier":"Standard", + "family":"MeteredData" + } + } + }, + "responses":{ + "201":{ + "body":{ + "name":"circuitName", + "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag":"W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "type":"Microsoft.Network/expressRouteCircuits", + "location":"westus", + "properties":{ + "provisioningState":"Updating", + "resourceGuid":"47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings":[ + + ], + "authorizations":[ + { + "name":"MyAuthorization1", + "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag":"W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "properties":{ + "provisioningState":"Updating", + "authorizationUseStatus":"Available" + } + } + ], + "serviceProviderProperties":{ + "serviceProviderName":"Microsoft ER Test", + "peeringLocation":"Area51", + "bandwidthInMbps":200 + }, + "circuitProvisioningState":"Disabled", + "allowClassicOperations":false, + "gatewayManagerEtag":"", + "serviceKey":"6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState":"NotProvisioned" + }, + "sku":{ + "name":"Standard_MeteredData", + "tier":"Standard", + "family":"MeteredData" + } + } + }, + "200":{ + "body":{ + "name":"circuitName", + "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag":"W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "type":"Microsoft.Network/expressRouteCircuits", + "location":"westus", + "properties":{ + "provisioningState":"Updating", + "resourceGuid":"47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings":[ + + ], + "authorizations":[ + { + "name":"MyAuthorization1", + "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag":"W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "properties":{ + "provisioningState":"Updating", + "authorizationUseStatus":"Available" + } + } + ], + "serviceProviderProperties":{ + "serviceProviderName":"Microsoft ER Test", + "peeringLocation":"Area51", + "bandwidthInMbps":200 + }, + "circuitProvisioningState":"Disabled", + "allowClassicOperations":false, + "gatewayManagerEtag":"", + "serviceKey":"6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState":"NotProvisioned" + }, + "sku":{ + "name":"Standard_MeteredData", + "tier":"Standard", + "family":"MeteredData" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json new file mode 100644 index 000000000000..69716956b05c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json @@ -0,0 +1,20 @@ +{ + "parameters":{ + "expressRouteCircuitName":"circuitName", + "resourceGroupName":"rg1", + "api-version":"2017-11-01", + "subscriptionId":"subid", + "authorizationName":"authorizationName" + }, + "responses":{ + "200":{ + + }, + "202":{ + + }, + "204":{ + + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json new file mode 100644 index 000000000000..e43c90bf1406 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "expressRouteCircuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2017-11-01", + "subscriptionId": "subid", + "authorizationName": "authorizationName" + }, + "responses": { + "200": { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json new file mode 100644 index 000000000000..5442ebebe8ba --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "expressRouteCircuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2017-11-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authKey", + "authorizationUseStatus": "Available" + } + } + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitCreate.json new file mode 100644 index 000000000000..8d37adcbdd05 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitCreate.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "expressRouteCircuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2017-11-01", + "subscriptionId": "subid", + "expressRouteCircuitParameters": { + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + }, + "properties": { + "authorizations": [], + "peerings": [], + "allowClassicOperations": false, + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + } + }, + "location": "West US" + } + }, + "responses": { + "201": { + "body": { + "name": "circuitName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd2-248d-4754-9068-0a89860dd918", + "peerings": [], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + }, + "200": { + "body": { + "name": "circuitName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd2-248d-4754-9068-0a89860dd918", + "peerings": [], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitDelete.json new file mode 100644 index 000000000000..ccf15843175d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "expressRouteCircuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2017-11-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitGet.json new file mode 100644 index 000000000000..ae59b13393af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "expressRouteCircuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2017-11-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "name": "circuitName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd2-248d-4754-9068-0a89860dd918", + "peerings": [], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListByResourceGroup.json new file mode 100644 index 000000000000..e9c787623b24 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "resourceGroupName": "rg1", + "api-version": "2017-11-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + }, + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListBySubscription.json new file mode 100644 index 000000000000..7fb7e908f8d7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitListBySubscription.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2017-11-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "name": "circuitName1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "113", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + }, + { + "name": "circuitName2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "47853fd2-9261-4670-b7c3-2debcf9b88da", + "peerings": [], + "authorizations": [ + { + "name": "MyAuthorization2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "properties": { + "provisioningState": "Succeeded", + "authorizationKey": "authkey", + "authorizationUseStatus": "Available" + } + } + ], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Enabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringCreate.json new file mode 100644 index 000000000000..52437e74f9e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringCreate.json @@ -0,0 +1,254 @@ +{ + "parameters": { + "expressRouteCircuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2017-11-01", + "subscriptionId": "subid", + "expressRouteCircuitPeeringParameters": { + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + }, + "properties": { + "allowClassicOperations": false, + "authorizations": [], + "peerings": [ + { + "properties": { + "peeringType": "MicrosoftPeering", + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "vlanId": 300, + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "123.1.0.0/24" + ], + "advertisedCommunities": [], + "customerASN": 23, + "routingRegistryName": "ARIN" + }, + "gatewayManagerEtag": "59", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "customerASN": 23, + "routingRegistryName": "ARIN" + } + } + }, + "name": "MicrosoftPeering" + }, + { + "properties": { + "peeringType": "AzurePrivatePeering", + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "sharedKey": "A1B2C3D4", + "vlanId": 200 + }, + "name": "AzurePrivatePeering" + } + ], + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "gatewayManagerEtag": "59" + }, + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "name": "circuitName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "W/\"2d15d00a-a97d-42cd-bb03-02b1f8d07bb2\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Updating", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [ + { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"2d15d00a-a97d-42cd-bb03-02b1f8d07bb2\"", + "properties": { + "provisioningState": "Updating", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "state": "Disabled", + "vlanId": 300, + "gatewayManagerEtag": "59", + "lastModifiedBy": "", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "123.1.0.0/24" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "NotConfigured", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Disabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "NotConfigured", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + } + } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"2d15d00a-a97d-42cd-bb03-02b1f8d07bb2\"", + "properties": { + "provisioningState": "Updating", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "sharedKey": "3082019806092A864886F70D010703A0820189308201850201003182014930820145020100302D3019311730150603550403130E6E72702D656E6372797074696F6E021024D7E76585617DB24043672221D25170300D06092A864886F70D010101050004820100A46409E85BECB39B06BA8B7C81A828384CDC1D82267A13299DD563E2BE4E462CAA25DEAE873754D6C327EE5ED4F22AE61C367AA68DF5E8E9CED3D104D01255CFB6281C647F570060FC401625FD12B8578996AB2A5CBD58F867EE2CA19DDAC4D73FF2BD5180DC9FCB9C30B61F9BA56FCC4E26C085D4ACF35BCC5304A8452A3217137807A321EF397DFEAD5E2D4E3158D5670C63A905D1B611A84EE0695B10F1029357E1CDEA3B357EBEBAECF3CA31E4020BC5BB35FBA7538AF3B285CCCD3D410BB85E25AB03C83C0AD904C303A875894FD0F9535026699F69509ACD89BD6B84FCD48D2715EF4828D5B86B37FD3A452263E054E5B00F5B50E7DE42DDADD6577C5E303306092A864886F70D010701301406082A864886F70D030704082F53B4F65BDE21F08010F8EA51F0C883FCA735EDAA9FC38F7B3B", + "state": "Disabled", + "vlanId": 200, + "lastModifiedBy": "" + } + } + ], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Disabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "59", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + }, + "201": { + "body": { + "name": "circuitName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "etag": "W/\"2d15d00a-a97d-42cd-bb03-02b1f8d07bb2\"", + "type": "Microsoft.Network/expressRouteCircuits", + "location": "westus", + "properties": { + "provisioningState": "Updating", + "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", + "peerings": [ + { + "name": "MicrosoftPeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "etag": "W/\"2d15d00a-a97d-42cd-bb03-02b1f8d07bb2\"", + "properties": { + "provisioningState": "Updating", + "peeringType": "MicrosoftPeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "123.0.0.0/30", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "state": "Disabled", + "vlanId": 300, + "gatewayManagerEtag": "59", + "lastModifiedBy": "", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "123.1.0.0/24" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "NotConfigured", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Disabled", + "microsoftPeeringConfig": { + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedCommunities": [], + "advertisedPublicPrefixesState": "NotConfigured", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + } + } + } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"2d15d00a-a97d-42cd-bb03-02b1f8d07bb2\"", + "properties": { + "provisioningState": "Updating", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "sharedKey": "3082019806092A864886F70D010703A0820189308201850201003182014930820145020100302D3019311730150603550403130E6E72702D656E6372797074696F6E021024D7E76585617DB24043672221D25170300D06092A864886F70D010101050004820100A46409E85BECB39B06BA8B7C81A828384CDC1D82267A13299DD563E2BE4E462CAA25DEAE873754D6C327EE5ED4F22AE61C367AA68DF5E8E9CED3D104D01255CFB6281C647F570060FC401625FD12B8578996AB2A5CBD58F867EE2CA19DDAC4D73FF2BD5180DC9FCB9C30B61F9BA56FCC4E26C085D4ACF35BCC5304A8452A3217137807A321EF397DFEAD5E2D4E3158D5670C63A905D1B611A84EE0695B10F1029357E1CDEA3B357EBEBAECF3CA31E4020BC5BB35FBA7538AF3B285CCCD3D410BB85E25AB03C83C0AD904C303A875894FD0F9535026699F69509ACD89BD6B84FCD48D2715EF4828D5B86B37FD3A452263E054E5B00F5B50E7DE42DDADD6577C5E303306092A864886F70D010701301406082A864886F70D030704082F53B4F65BDE21F08010F8EA51F0C883FCA735EDAA9FC38F7B3B", + "state": "Disabled", + "vlanId": 200, + "lastModifiedBy": "" + } + } + ], + "authorizations": [], + "serviceProviderProperties": { + "serviceProviderName": "providerName", + "peeringLocation": "peeringLocation", + "bandwidthInMbps": 200 + }, + "circuitProvisioningState": "Disabled", + "allowClassicOperations": false, + "gatewayManagerEtag": "59", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "tier": "Standard", + "family": "MeteredData" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringDelete.json new file mode 100644 index 000000000000..ce8ca365b9b9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "expressRouteCircuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2017-11-01", + "subscriptionId": "subid", + "peeringName": "peeringName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json new file mode 100644 index 000000000000..645d4639a5d3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "expressRouteCircuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2017-11-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" + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json new file mode 100644 index 000000000000..24e476065dc5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "expressRouteCircuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2017-11-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "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" + } + } + } + }, + { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 100, + "primaryPeerAddressPrefix": "10.0.0.0/30", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "103", + "lastModifiedBy": "Customer" + } + } + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json new file mode 100644 index 000000000000..ec060c5cc45f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "expressRouteCircuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2017-11-01", + "subscriptionId": "subid", + "peeringName": "peeringName" + }, + "responses": { + "200": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json new file mode 100644 index 000000000000..78554b96ceab --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "expressRouteCircuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2017-11-01", + "subscriptionId": "subid", + "peeringName": "peeringName", + "devicePath": "devicePath" + }, + "responses": { + "200": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + }, + "202": { + "value": [ + { + "network": "", + "nextHop": "", + "locPrf": "", + "weight": 0, + "path": "" + } + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json new file mode 100644 index 000000000000..d9a49559974f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "expressRouteCircuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2017-11-01", + "subscriptionId": "subid", + "peeringName": "peeringName", + "devicePath": "devicePath" + }, + "responses": { + "200": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + }, + "202": { + "value": [ + { + "neighbor": "100.65.171.1", + "v": 4, + "as": 9583, + "upDown": "never", + "statePfxRcd": "Idle" + } + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json new file mode 100644 index 000000000000..923bbf03f1f8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "expressRouteCircuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2017-11-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "primaryBytesIn": 537408, + "primaryBytesOut": 44032550, + "secondaryBytesIn": 0, + "secondaryBytesOut": 39002500 + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteProviderList.json new file mode 100644 index 000000000000..0e0f0d9c275e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteProviderList.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2017-11-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "value": [ + { + "name": "providerName", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "type": "Microsoft.Network/expressRouteServiceProviders", + "properties": { + "provisioningState": "Succeeded", + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ] + } + } + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/expressRouteCircuit.json index bed862b370b1..a03acfae2468 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/expressRouteCircuit.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/expressRouteCircuit.json @@ -81,7 +81,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationDelete.json" } + } }, "get": { "tags": [ @@ -125,6 +128,9 @@ "$ref": "#/definitions/ExpressRouteCircuitAuthorization" } } + }, + "x-ms-examples": { + "Get ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationGet.json" } } }, "put": { @@ -185,7 +191,10 @@ } } }, - "x-ms-long-running-operation": true + "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": { @@ -227,6 +236,9 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationList.json" } } } }, @@ -277,14 +289,17 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "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 authorization from the specified express route circuit.", + "description": "Gets the specified peering for the express route circuit.", "parameters": [ { "name": "resourceGroupName", @@ -321,6 +336,9 @@ "$ref": "#/definitions/ExpressRouteCircuitPeering" } } + }, + "x-ms-examples": { + "Get ExpressRouteCircuit Peering": { "$ref": "./examples/ExpressRouteCircuitPeeringGet.json" } } }, "put": { @@ -381,7 +399,10 @@ } } }, - "x-ms-long-running-operation": true + "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": { @@ -423,6 +444,9 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringList.json" } } } }, @@ -481,8 +505,7 @@ } }, "x-ms-examples": { - "ExpressRouteCircuitConnectionDelete": { - "$ref": "./examples/ExpressRouteCircuitConnectionDelete.json" + "Delete ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitDelete.json" } } }, "x-ms-long-running-operation": true @@ -656,7 +679,10 @@ "description": "Delete successful." } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitDelete.json" } + } }, "get": { "tags": [ @@ -693,6 +719,9 @@ "$ref": "#/definitions/ExpressRouteCircuit" } } + }, + "x-ms-examples": { + "Get ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitGet.json" } } }, "put": { @@ -746,7 +775,10 @@ } } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitCreate.json" } + } }, "patch": { "tags": [ @@ -855,7 +887,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "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}": { @@ -912,7 +947,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "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}": { @@ -969,7 +1007,10 @@ "description": "Accepted and the operation will complete asynchronously." } }, - "x-ms-long-running-operation": true + "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": { @@ -1008,6 +1049,9 @@ "$ref": "#/definitions/ExpressRouteCircuitStats" } } + }, + "x-ms-examples": { + "Get ExpressRoute Circuit Traffic Stats": { "$ref": "./examples/ExpressRouteCircuitStats.json" } } } }, @@ -1054,6 +1098,9 @@ "$ref": "#/definitions/ExpressRouteCircuitStats" } } + }, + "x-ms-examples": { + "Get ExpressRoute Circuit Peering Traffic Stats": { "$ref": "./examples/ExpressRouteCircuitPeeringStats.json" } } } }, @@ -1089,6 +1136,9 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRouteCircuits in a resource group": { "$ref": "./examples/ExpressRouteCircuitListByResourceGroup.json" } } } }, @@ -1117,6 +1167,9 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRouteCircuits in a subscription": { "$ref": "./examples/ExpressRouteCircuitListBySubscription.json" } } } }, @@ -1145,6 +1198,9 @@ }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List ExpressRoute providers": { "$ref": "./examples/ExpressRouteProviderList.json" } } } } From cfb31fb0c4faf287745b5820a3de647b5c487dfe Mon Sep 17 00:00:00 2001 From: GimotwanMSFT Date: Mon, 4 Jun 2018 19:23:43 -0700 Subject: [PATCH 2/3] Fix errors in expressRouteCircuit.json validations --- .../2018-06-01/expressRouteCircuit.json | 73 +++++++++---------- 1 file changed, 36 insertions(+), 37 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/expressRouteCircuit.json index a03acfae2468..0d68b48f47a5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/expressRouteCircuit.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/expressRouteCircuit.json @@ -82,8 +82,8 @@ } }, "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationDelete.json" } + "x-ms-examples": { + "Delete ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationDelete.json" } } }, "get": { @@ -129,8 +129,8 @@ } } }, - "x-ms-examples": { - "Get ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationGet.json" } + "x-ms-examples": { + "Get ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationGet.json" } } }, "put": { @@ -193,7 +193,7 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Create ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationCreate.json" } + "Create ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationCreate.json" } } } }, @@ -238,7 +238,7 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationList.json" } + "List ExpressRouteCircuit Authorization": { "$ref": "./examples/ExpressRouteCircuitAuthorizationList.json" } } } }, @@ -290,8 +290,8 @@ } }, "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringDelete.json" } + "x-ms-examples": { + "Delete ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringDelete.json" } } }, "get": { @@ -337,8 +337,8 @@ } } }, - "x-ms-examples": { - "Get ExpressRouteCircuit Peering": { "$ref": "./examples/ExpressRouteCircuitPeeringGet.json" } + "x-ms-examples": { + "Get ExpressRouteCircuit Peering": { "$ref": "./examples/ExpressRouteCircuitPeeringGet.json" } } }, "put": { @@ -400,8 +400,8 @@ } }, "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringCreate.json" } + "x-ms-examples": { + "Create ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringCreate.json" } } } }, @@ -445,8 +445,8 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-examples": { - "List ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringList.json" } + "x-ms-examples":{ + "List ExpressRouteCircuit Peerings": { "$ref": "./examples/ExpressRouteCircuitPeeringList.json" } } } }, @@ -506,7 +506,6 @@ }, "x-ms-examples": { "Delete ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitDelete.json" } - } }, "x-ms-long-running-operation": true }, @@ -680,8 +679,8 @@ } }, "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitDelete.json" } + "x-ms-examples": { + "Delete ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitDelete.json" } } }, "get": { @@ -720,8 +719,8 @@ } } }, - "x-ms-examples": { - "Get ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitGet.json" } + "x-ms-examples": { + "Get ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitGet.json" } } }, "put": { @@ -776,8 +775,8 @@ } }, "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitCreate.json" } + "x-ms-examples": { + "Create ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitCreate.json" } } }, "patch": { @@ -888,8 +887,8 @@ } }, "x-ms-long-running-operation": true, - "x-ms-examples": { - "List ARP Table": { "$ref": "./examples/ExpressRouteCircuitARPTableList.json" } + "x-ms-examples": { + "List ARP Table": { "$ref": "./examples/ExpressRouteCircuitARPTableList.json" } } } }, @@ -948,8 +947,8 @@ } }, "x-ms-long-running-operation": true, - "x-ms-examples": { - "List Route Tables": { "$ref": "./examples/ExpressRouteCircuitRouteTableList.json" } + "x-ms-examples": { + "List Route Tables": { "$ref": "./examples/ExpressRouteCircuitRouteTableList.json" } } } }, @@ -1008,8 +1007,8 @@ } }, "x-ms-long-running-operation": true, - "x-ms-examples": { - "List Route Table Summary": { "$ref": "./examples/ExpressRouteCircuitRouteTableSummaryList.json" } + "x-ms-examples": { + "List Route Table Summary": { "$ref": "./examples/ExpressRouteCircuitRouteTableSummaryList.json" } } } }, @@ -1050,8 +1049,8 @@ } } }, - "x-ms-examples": { - "Get ExpressRoute Circuit Traffic Stats": { "$ref": "./examples/ExpressRouteCircuitStats.json" } + "x-ms-examples": { + "Get ExpressRoute Circuit Traffic Stats": { "$ref": "./examples/ExpressRouteCircuitStats.json" } } } }, @@ -1099,8 +1098,8 @@ } } }, - "x-ms-examples": { - "Get ExpressRoute Circuit Peering Traffic Stats": { "$ref": "./examples/ExpressRouteCircuitPeeringStats.json" } + "x-ms-examples": { + "Get ExpressRoute Circuit Peering Traffic Stats": { "$ref": "./examples/ExpressRouteCircuitPeeringStats.json" } } } }, @@ -1137,8 +1136,8 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-examples": { - "List ExpressRouteCircuits in a resource group": { "$ref": "./examples/ExpressRouteCircuitListByResourceGroup.json" } + "x-ms-examples": { + "List ExpressRouteCircuits in a resource group": { "$ref": "./examples/ExpressRouteCircuitListByResourceGroup.json" } } } }, @@ -1168,8 +1167,8 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-examples": { - "List ExpressRouteCircuits in a subscription": { "$ref": "./examples/ExpressRouteCircuitListBySubscription.json" } + "x-ms-examples": { + "List ExpressRouteCircuits in a subscription": { "$ref": "./examples/ExpressRouteCircuitListBySubscription.json" } } } }, @@ -1199,8 +1198,8 @@ "x-ms-pageable": { "nextLinkName": "nextLink" }, - "x-ms-examples": { - "List ExpressRoute providers": { "$ref": "./examples/ExpressRouteProviderList.json" } + "x-ms-examples": { + "List ExpressRoute providers": { "$ref": "./examples/ExpressRouteProviderList.json" } } } } From a724044b6e04d113487c894b2835c1c4d7394c4b Mon Sep 17 00:00:00 2001 From: GimotwanMSFT Date: Tue, 5 Jun 2018 12:17:00 -0700 Subject: [PATCH 3/3] Fix errors in validate examples for ExR Circuit --- .../ExpressRouteCircuitARPTableList.json | 2 +- ...xpressRouteCircuitAuthorizationCreate.json | 106 +----- ...xpressRouteCircuitAuthorizationDelete.json | 2 +- .../ExpressRouteCircuitAuthorizationGet.json | 2 +- .../ExpressRouteCircuitAuthorizationList.json | 2 +- .../examples/ExpressRouteCircuitCreate.json | 6 +- .../examples/ExpressRouteCircuitDelete.json | 2 +- .../examples/ExpressRouteCircuitGet.json | 3 +- .../ExpressRouteCircuitPeeringCreate.json | 308 ++++-------------- .../ExpressRouteCircuitPeeringDelete.json | 2 +- .../ExpressRouteCircuitPeeringGet.json | 2 +- .../ExpressRouteCircuitPeeringList.json | 2 +- .../ExpressRouteCircuitPeeringStats.json | 2 +- .../ExpressRouteCircuitRouteTableList.json | 2 +- ...ressRouteCircuitRouteTableSummaryList.json | 2 +- .../examples/ExpressRouteCircuitStats.json | 2 +- .../2018-06-01/expressRouteCircuit.json | 2 +- 17 files changed, 86 insertions(+), 363 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json index 809d94279736..f152b6ca580c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitARPTableList.json @@ -1,6 +1,6 @@ { "parameters": { - "expressRouteCircuitName": "circuitName", + "circuitName": "circuitName", "resourceGroupName": "rg1", "api-version": "2017-11-01", "subscriptionId": "subid", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json index 64f998e16f2f..eca1c0547cb2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json @@ -1,119 +1,37 @@ { "parameters":{ - "expressRouteCircuitName":"circuitName", + "circuitName":"circuitName", "resourceGroupName":"rg1", + "authorizationName":"authorizatinName", "api-version":"2017-11-01", "subscriptionId":"subid", - "expressRouteCircuitParameters":{ - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "location":"westus", - "properties":{ - "peerings":[ - - ], - "authorizations":[ - { - "name":"MyAuthorization1" - } - ], - "serviceProviderProperties":{ - "serviceProviderName":"Microsoft ER Test", - "peeringLocation":"Area51", - "bandwidthInMbps":200 - }, - "allowClassicOperations":false, - "gatewayManagerEtag":"", - "serviceKey":"6569625a-9ba4-498b-9719-14d778eef609" - }, - "sku":{ - "name":"Standard_MeteredData", - "tier":"Standard", - "family":"MeteredData" - } + "authorizationParameters":{ + "properties": { + "authorizationKey": "authKey", + "authorizationUseStatus":"Available" + } } }, "responses":{ "201":{ "body":{ - "name":"circuitName", + "name":"authorizationName", "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", "etag":"W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", - "type":"Microsoft.Network/expressRouteCircuits", - "location":"westus", "properties":{ "provisioningState":"Updating", - "resourceGuid":"47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings":[ - - ], - "authorizations":[ - { - "name":"MyAuthorization1", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag":"W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", - "properties":{ - "provisioningState":"Updating", - "authorizationUseStatus":"Available" - } - } - ], - "serviceProviderProperties":{ - "serviceProviderName":"Microsoft ER Test", - "peeringLocation":"Area51", - "bandwidthInMbps":200 - }, - "circuitProvisioningState":"Disabled", - "allowClassicOperations":false, - "gatewayManagerEtag":"", - "serviceKey":"6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState":"NotProvisioned" - }, - "sku":{ - "name":"Standard_MeteredData", - "tier":"Standard", - "family":"MeteredData" + "authorizationUseStatus":"Available" } } }, "200":{ "body":{ - "name":"circuitName", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "name":"authorizationName", + "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/authorizations/authorizationName", "etag":"W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", - "type":"Microsoft.Network/expressRouteCircuits", - "location":"westus", "properties":{ "provisioningState":"Updating", - "resourceGuid":"47853fd2-9261-4670-b7c3-2debcf9b88da", - "peerings":[ - - ], - "authorizations":[ - { - "name":"MyAuthorization1", - "id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", - "etag":"W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", - "properties":{ - "provisioningState":"Updating", - "authorizationUseStatus":"Available" - } - } - ], - "serviceProviderProperties":{ - "serviceProviderName":"Microsoft ER Test", - "peeringLocation":"Area51", - "bandwidthInMbps":200 - }, - "circuitProvisioningState":"Disabled", - "allowClassicOperations":false, - "gatewayManagerEtag":"", - "serviceKey":"6569625a-9ba4-498b-9719-14d778eef609", - "serviceProviderProvisioningState":"NotProvisioned" - }, - "sku":{ - "name":"Standard_MeteredData", - "tier":"Standard", - "family":"MeteredData" + "authorizationUseStatus":"Available" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json index 69716956b05c..ed39eb1b9bec 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json @@ -1,6 +1,6 @@ { "parameters":{ - "expressRouteCircuitName":"circuitName", + "circuitName":"circuitName", "resourceGroupName":"rg1", "api-version":"2017-11-01", "subscriptionId":"subid", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json index e43c90bf1406..cf361b183424 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -1,6 +1,6 @@ { "parameters": { - "expressRouteCircuitName": "circuitName", + "circuitName": "circuitName", "resourceGroupName": "rg1", "api-version": "2017-11-01", "subscriptionId": "subid", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json index 5442ebebe8ba..e105cf887c82 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -1,6 +1,6 @@ { "parameters": { - "expressRouteCircuitName": "circuitName", + "circuitName": "circuitName", "resourceGroupName": "rg1", "api-version": "2017-11-01", "subscriptionId": "subid" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitCreate.json index 8d37adcbdd05..ed31bc4ba13c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitCreate.json @@ -1,10 +1,10 @@ { "parameters": { - "expressRouteCircuitName": "circuitName", + "circuitName": "circuitName", "resourceGroupName": "rg1", "api-version": "2017-11-01", "subscriptionId": "subid", - "expressRouteCircuitParameters": { + "parameters": { "sku": { "name": "Standard_MeteredData", "tier": "Standard", @@ -33,7 +33,6 @@ "location": "westus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "262effd2-248d-4754-9068-0a89860dd918", "peerings": [], "authorizations": [], "serviceProviderProperties": { @@ -62,7 +61,6 @@ "location": "westus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "262effd2-248d-4754-9068-0a89860dd918", "peerings": [], "authorizations": [], "serviceProviderProperties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitDelete.json index ccf15843175d..495f8d9e4a68 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "expressRouteCircuitName": "circuitName", + "circuitName": "circuitName", "resourceGroupName": "rg1", "api-version": "2017-11-01", "subscriptionId": "subid" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitGet.json index ae59b13393af..5e05b5206a5d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitGet.json @@ -1,6 +1,6 @@ { "parameters": { - "expressRouteCircuitName": "circuitName", + "circuitName": "circuitName", "resourceGroupName": "rg1", "api-version": "2017-11-01", "subscriptionId": "subid" @@ -15,7 +15,6 @@ "location": "westus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "262effd2-248d-4754-9068-0a89860dd918", "peerings": [], "authorizations": [], "serviceProviderProperties": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringCreate.json index 52437e74f9e1..4fd8c6e4879b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringCreate.json @@ -1,254 +1,62 @@ { - "parameters": { - "expressRouteCircuitName": "circuitName", - "resourceGroupName": "rg1", - "api-version": "2017-11-01", - "subscriptionId": "subid", - "expressRouteCircuitPeeringParameters": { - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - }, - "properties": { - "allowClassicOperations": false, - "authorizations": [], - "peerings": [ - { - "properties": { - "peeringType": "MicrosoftPeering", - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "vlanId": 300, - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "customerASN": 23, - "routingRegistryName": "ARIN" - }, - "gatewayManagerEtag": "59", - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" - ], - "advertisedCommunities": [], - "customerASN": 23, - "routingRegistryName": "ARIN" - } - } - }, - "name": "MicrosoftPeering" - }, - { - "properties": { - "peeringType": "AzurePrivatePeering", - "peerASN": 100, - "primaryPeerAddressPrefix": "10.0.0.0/30", - "secondaryPeerAddressPrefix": "10.0.0.4/30", - "sharedKey": "A1B2C3D4", - "vlanId": 200 - }, - "name": "AzurePrivatePeering" - } - ], - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "gatewayManagerEtag": "59" - }, - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "location": "westus" + "parameters": { + "peeringName": "AzurePrivatePeering", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "api-version": "2018-06-01", + "subscriptionId": "subid", + "peeringParameters": { + "properties": { + "azureASN": 12076, + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "vlanId": 200 } - }, - "responses": { - "200": { - "body": { - "name": "circuitName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "etag": "W/\"2d15d00a-a97d-42cd-bb03-02b1f8d07bb2\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Updating", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [ - { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"2d15d00a-a97d-42cd-bb03-02b1f8d07bb2\"", - "properties": { - "provisioningState": "Updating", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "state": "Disabled", - "vlanId": 300, - "gatewayManagerEtag": "59", - "lastModifiedBy": "", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "NotConfigured", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Disabled", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "NotConfigured", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - } - } - } - }, - { - "name": "AzurePrivatePeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", - "etag": "W/\"2d15d00a-a97d-42cd-bb03-02b1f8d07bb2\"", - "properties": { - "provisioningState": "Updating", - "peeringType": "AzurePrivatePeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "10.0.0.0/30", - "secondaryPeerAddressPrefix": "10.0.0.4/30", - "sharedKey": "3082019806092A864886F70D010703A0820189308201850201003182014930820145020100302D3019311730150603550403130E6E72702D656E6372797074696F6E021024D7E76585617DB24043672221D25170300D06092A864886F70D010101050004820100A46409E85BECB39B06BA8B7C81A828384CDC1D82267A13299DD563E2BE4E462CAA25DEAE873754D6C327EE5ED4F22AE61C367AA68DF5E8E9CED3D104D01255CFB6281C647F570060FC401625FD12B8578996AB2A5CBD58F867EE2CA19DDAC4D73FF2BD5180DC9FCB9C30B61F9BA56FCC4E26C085D4ACF35BCC5304A8452A3217137807A321EF397DFEAD5E2D4E3158D5670C63A905D1B611A84EE0695B10F1029357E1CDEA3B357EBEBAECF3CA31E4020BC5BB35FBA7538AF3B285CCCD3D410BB85E25AB03C83C0AD904C303A875894FD0F9535026699F69509ACD89BD6B84FCD48D2715EF4828D5B86B37FD3A452263E054E5B00F5B50E7DE42DDADD6577C5E303306092A864886F70D010701301406082A864886F70D030704082F53B4F65BDE21F08010F8EA51F0C883FCA735EDAA9FC38F7B3B", - "state": "Disabled", - "vlanId": 200, - "lastModifiedBy": "" - } - } - ], - "authorizations": [], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Disabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "59", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - } - }, - "201": { - "body": { - "name": "circuitName", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", - "etag": "W/\"2d15d00a-a97d-42cd-bb03-02b1f8d07bb2\"", - "type": "Microsoft.Network/expressRouteCircuits", - "location": "westus", - "properties": { - "provisioningState": "Updating", - "resourceGuid": "262effd3-248d-4754-9068-0a89260dd918", - "peerings": [ - { - "name": "MicrosoftPeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", - "etag": "W/\"2d15d00a-a97d-42cd-bb03-02b1f8d07bb2\"", - "properties": { - "provisioningState": "Updating", - "peeringType": "MicrosoftPeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "123.0.0.0/30", - "secondaryPeerAddressPrefix": "123.0.0.4/30", - "state": "Disabled", - "vlanId": 300, - "gatewayManagerEtag": "59", - "lastModifiedBy": "", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "123.1.0.0/24" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "NotConfigured", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - }, - "ipv6PeeringConfig": { - "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", - "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", - "state": "Disabled", - "microsoftPeeringConfig": { - "advertisedPublicPrefixes": [ - "3FFE:FFFF:0:CD31::/120" - ], - "advertisedCommunities": [], - "advertisedPublicPrefixesState": "NotConfigured", - "customerASN": 23, - "legacyMode": 0, - "routingRegistryName": "ARIN" - } - } - } - }, - { - "name": "AzurePrivatePeering", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", - "etag": "W/\"2d15d00a-a97d-42cd-bb03-02b1f8d07bb2\"", - "properties": { - "provisioningState": "Updating", - "peeringType": "AzurePrivatePeering", - "azureASN": 12076, - "peerASN": 100, - "primaryPeerAddressPrefix": "10.0.0.0/30", - "secondaryPeerAddressPrefix": "10.0.0.4/30", - "sharedKey": "3082019806092A864886F70D010703A0820189308201850201003182014930820145020100302D3019311730150603550403130E6E72702D656E6372797074696F6E021024D7E76585617DB24043672221D25170300D06092A864886F70D010101050004820100A46409E85BECB39B06BA8B7C81A828384CDC1D82267A13299DD563E2BE4E462CAA25DEAE873754D6C327EE5ED4F22AE61C367AA68DF5E8E9CED3D104D01255CFB6281C647F570060FC401625FD12B8578996AB2A5CBD58F867EE2CA19DDAC4D73FF2BD5180DC9FCB9C30B61F9BA56FCC4E26C085D4ACF35BCC5304A8452A3217137807A321EF397DFEAD5E2D4E3158D5670C63A905D1B611A84EE0695B10F1029357E1CDEA3B357EBEBAECF3CA31E4020BC5BB35FBA7538AF3B285CCCD3D410BB85E25AB03C83C0AD904C303A875894FD0F9535026699F69509ACD89BD6B84FCD48D2715EF4828D5B86B37FD3A452263E054E5B00F5B50E7DE42DDADD6577C5E303306092A864886F70D010701301406082A864886F70D030704082F53B4F65BDE21F08010F8EA51F0C883FCA735EDAA9FC38F7B3B", - "state": "Disabled", - "vlanId": 200, - "lastModifiedBy": "" - } - } - ], - "authorizations": [], - "serviceProviderProperties": { - "serviceProviderName": "providerName", - "peeringLocation": "peeringLocation", - "bandwidthInMbps": 200 - }, - "circuitProvisioningState": "Disabled", - "allowClassicOperations": false, - "gatewayManagerEtag": "59", - "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", - "serviceProviderProvisioningState": "Provisioned" - }, - "sku": { - "name": "Standard_MeteredData", - "tier": "Standard", - "family": "MeteredData" - } - } + } + }, + "responses": { + "201": { + "body": { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "primaryAzurePort": "", + "secondaryAzurePort": "", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "", + "lastModifiedBy": "Customer" + } } - } + }, + "200": { + "body": { + "name": "AzurePrivatePeering", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "properties": { + "provisioningState": "Succeeded", + "peeringType": "AzurePrivatePeering", + "azureASN": 12076, + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "primaryAzurePort": "", + "secondaryAzurePort": "", + "state": "Enabled", + "vlanId": 200, + "gatewayManagerEtag": "", + "lastModifiedBy": "Customer" + } + } + } + } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringDelete.json index ce8ca365b9b9..d91483c03b9b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "expressRouteCircuitName": "circuitName", + "circuitName": "circuitName", "resourceGroupName": "rg1", "api-version": "2017-11-01", "subscriptionId": "subid", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json index 645d4639a5d3..18d91770cff0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringGet.json @@ -1,6 +1,6 @@ { "parameters": { - "expressRouteCircuitName": "circuitName", + "circuitName": "circuitName", "resourceGroupName": "rg1", "api-version": "2017-11-01", "subscriptionId": "subid", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json index 24e476065dc5..56624396d3c2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringList.json @@ -1,6 +1,6 @@ { "parameters": { - "expressRouteCircuitName": "circuitName", + "circuitName": "circuitName", "resourceGroupName": "rg1", "api-version": "2017-11-01", "subscriptionId": "subid" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json index ec060c5cc45f..3cb2c18eaa74 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitPeeringStats.json @@ -1,6 +1,6 @@ { "parameters": { - "expressRouteCircuitName": "circuitName", + "circuitName": "circuitName", "resourceGroupName": "rg1", "api-version": "2017-11-01", "subscriptionId": "subid", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json index 78554b96ceab..433bc6cc60e8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableList.json @@ -1,6 +1,6 @@ { "parameters": { - "expressRouteCircuitName": "circuitName", + "circuitName": "circuitName", "resourceGroupName": "rg1", "api-version": "2017-11-01", "subscriptionId": "subid", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json index d9a49559974f..04a2c213cd45 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -1,6 +1,6 @@ { "parameters": { - "expressRouteCircuitName": "circuitName", + "circuitName": "circuitName", "resourceGroupName": "rg1", "api-version": "2017-11-01", "subscriptionId": "subid", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json index 923bbf03f1f8..a7a54a873f3c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/examples/ExpressRouteCircuitStats.json @@ -1,6 +1,6 @@ { "parameters": { - "expressRouteCircuitName": "circuitName", + "circuitName": "circuitName", "resourceGroupName": "rg1", "api-version": "2017-11-01", "subscriptionId": "subid" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/expressRouteCircuit.json index 0d68b48f47a5..f4d788cace5c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/expressRouteCircuit.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-06-01/expressRouteCircuit.json @@ -505,7 +505,7 @@ } }, "x-ms-examples": { - "Delete ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitDelete.json" } + "Delete ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitConnectionDelete.json" } }, "x-ms-long-running-operation": true },