-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding express route port authorization apis (#17582)
* adding apis and updating resource to support ports auth * moving change to 2021-08-01 * minor: removing change from 2020-07-01 * lintdiff : adding type object * minor: fixing prettier * adding authorizations to ports property * fixing circuitResourceUri property name * fixing model validation * changing circuit resource uri type to string * removing authorizations child reosurce from parent property
- Loading branch information
Showing
7 changed files
with
444 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
...ger/Microsoft.Network/stable/2021-08-01/examples/ExpressRoutePortAuthorizationCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...ger/Microsoft.Network/stable/2021-08-01/examples/ExpressRoutePortAuthorizationDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...anager/Microsoft.Network/stable/2021-08-01/examples/ExpressRoutePortAuthorizationGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...nager/Microsoft.Network/stable/2021-08-01/examples/ExpressRoutePortAuthorizationList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.