Skip to content

Commit

Permalink
Fixing virtualRouters and ipGroups 202 response examples (Azure#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 mikeharder committed Nov 27, 2024
1 parent b4fea31 commit a8cc350
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 a8cc350

Please sign in to comment.