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

Adding express route port authorization apis #17582

Merged
merged 10 commits into from
Mar 11, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"expressRoutePort": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName"
},
"authorizationKey": "b0be57f5-1fba-463b-adec-ffe767354cdd",
"bandwidthInGbps": 10
}
}
Expand All @@ -34,6 +35,7 @@
"expressRoutePort": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName"
},
"authorizationKey": "b0be57f5-1fba-463b-adec-ffe767354cdd",
"bandwidthInGbps": 10,
"circuitProvisioningState": "Enabled",
"allowClassicOperations": false,
Expand Down Expand Up @@ -61,6 +63,7 @@
"expressRoutePort": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName"
},
"authorizationKey": "b0be57f5-1fba-463b-adec-ffe767354cdd",
"bandwidthInGbps": 10,
"circuitProvisioningState": "Enabled",
"allowClassicOperations": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"expressRoutePortName": "expressRoutePortName",
"resourceGroupName": "rg1",
"authorizationName": "authorizatinName",
"api-version": "2021-08-01",
"subscriptionId": "subid",
"authorizationParameters": {
"properties": {}
}
},
"responses": {
"201": {
"body": {
"name": "authorizationName",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName",
"etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"",
"properties": {
"provisioningState": "Updating",
"authorizationUseStatus": "Available",
"circuitResourceUri": ""
},
"type": "Microsoft.Network/expressRoutePorts/authorizations"
}
},
"200": {
"body": {
"name": "authorizationName",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName",
"etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"",
"properties": {
"provisioningState": "Updating",
"authorizationUseStatus": "Available",
"circuitResourceUri": ""
},
"type": "Microsoft.Network/expressRoutePorts/authorizations"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"expressRoutePortName": "expressRoutePortName",
"resourceGroupName": "rg1",
"api-version": "2021-08-01",
"subscriptionId": "subid",
"authorizationName": "authorizationName"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"expressRoutePortName": "expressRoutePortName",
"resourceGroupName": "rg1",
"api-version": "2021-08-01",
"subscriptionId": "subid",
"authorizationName": "authorizationName"
},
"responses": {
"200": {
"body": {
"name": "authorizationName",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName",
"etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"",
"properties": {
"provisioningState": "Succeeded",
"authorizationKey": "authKey",
"authorizationUseStatus": "Available",
"circuitResourceUri": ""
},
"type": "Microsoft.Network/expressRoutePorts/authorizations"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"expressRoutePortName": "expressRoutePortName",
"resourceGroupName": "rg1",
"api-version": "2021-08-01",
"subscriptionId": "subid"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "authorizationName",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName",
"etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"",
"properties": {
"provisioningState": "Succeeded",
"authorizationKey": "authKey",
"authorizationUseStatus": "Available",
"circuitResourceUri": ""
},
"type": "Microsoft.Network/expressRoutePorts/authorizations"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2239,6 +2239,10 @@
"globalReachEnabled": {
"type": "boolean",
"description": "Flag denoting global reach status."
},
"authorizationKey": {
"type": "string",
"description": "The authorizationKey."
}
},
"description": "Properties of ExpressRouteCircuit."
Expand Down
Loading