-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swagger changes for expressroute site failover simulation (#30731)
* Swagger changes for expressroute site failover simulation * Fixing some checks * Correcting parameter name in stop json * Changing error schema * Adding arm id format for uris * Adding suppressions
- Loading branch information
Showing
6 changed files
with
647 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
...t.Network/stable/2024-05-01/examples/VirtualNetworkGatewayGetFailoverAllTestsDetails.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,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-05-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"virtualNetworkGatewayName": "ergw", | ||
"type": "SingleSiteFailover", | ||
"fetchLatest": "true" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2024-05-01" | ||
} | ||
}, | ||
"200": { | ||
"body": [] | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...Network/stable/2024-05-01/examples/VirtualNetworkGatewayGetFailoverSingleTestDetails.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,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-05-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"virtualNetworkGatewayName": "ergw", | ||
"peeringLocation": "Vancouver", | ||
"failoverTestId": "fe458ae8-d2ae-4520-a104-44bc233bde7e" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2024-05-01" | ||
} | ||
}, | ||
"200": { | ||
"body": [] | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
....Network/stable/2024-05-01/examples/VirtualNetworkGatewayStartSiteFailoverSimulation.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,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-05-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"virtualNetworkGatewayName": "ergw", | ||
"peeringLocation": "Vancouver" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2024-05-01" | ||
} | ||
}, | ||
"200": { | ||
"body": {} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...t.Network/stable/2024-05-01/examples/VirtualNetworkGatewayStopSiteFailoverSimulation.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,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-05-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"virtualNetworkGatewayName": "ergw", | ||
"stopParameters": { | ||
"peeringLocation": "Vancouver", | ||
"wasSimulationSuccessful": true, | ||
"details": [ | ||
{ | ||
"failoverConnectionName": "conn1", | ||
"failoverLocation": "Denver", | ||
"isVerified": false | ||
}, | ||
{ | ||
"failoverConnectionName": "conn2", | ||
"failoverLocation": "Amsterdam", | ||
"isVerified": true | ||
} | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2024-05-01" | ||
} | ||
}, | ||
"200": { | ||
"body": {} | ||
} | ||
} | ||
} |
Oops, something went wrong.