Skip to content

Commit

Permalink
Fixing virtualRouters and ipGroups 202 response examples (#30871)
Browse files Browse the repository at this point in the history
* Added location headers to 202 responses for ipGroups and virtualRouters.

* Added location header to vr peering delete examples

* Ran prettier on 2024-05-01 examples
  • Loading branch information
ajtms authored and GuptaVertika committed Nov 20, 2024
1 parent 67c5632 commit 586a475
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/subId/resourceGroups/myResourceGroup/providers/Microsoft.Network/ipGroups/ipGroups1?api-version=2024-03-01"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter?api-version=2024-03-01"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1?api-version=2024-03-01"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/subId/resourceGroups/myResourceGroup/providers/Microsoft.Network/ipGroups/ipGroups1?api-version=2024-05-01"
}
},
"204": {}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter?api-version=2024-05-01"
}
},
"204": {}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
},
"responses": {
"200": {},
"202": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1?api-version=2024-05-01"
}
},
"204": {}
}
}

0 comments on commit 586a475

Please sign in to comment.