Skip to content

Commit

Permalink
Swagger changes for expressroute site failover simulation (Azure#30731)
Browse files Browse the repository at this point in the history
* 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
shubytia authored and mikeharder committed Nov 27, 2024
1 parent 9bc636f commit b4fea31
Show file tree
Hide file tree
Showing 6 changed files with 647 additions and 0 deletions.
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": []
}
}
}
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": []
}
}
}
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": {}
}
}
}
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": {}
}
}
}
Loading

0 comments on commit b4fea31

Please sign in to comment.