Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixexamples #3092

Closed
wants to merge 10 commits into from
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "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" } ] } } }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please configure your git to check in Unix style line endings.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gimotwanMSFT was it done?

Expand Down
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters":{
"expressRouteCircuitName":"circuitName",
"resourceGroupName":"rg1",
"api-version":"2017-11-01",
"subscriptionId":"subid",
"authorizationName":"authorizationName"
},
"responses":{
"200":{

},
"202":{

},
"204":{

}
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"expressRouteCircuitName": "circuitName",
"resourceGroupName": "rg1",
"api-version": "2017-11-01",
"subscriptionId": "subid"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
}
Loading