Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the new response code to the 2024-01-01 version release of swagger to match the bugfix in 2023-11-01 #29048

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
},
"responses": {
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01"
},
"body": {
"instanceIds": []
}
},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2024-01-01"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@
},
"responses": {
"200": {
"headers": {
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01"
},
"body": {
"instanceIds": [
"0",
"1"
]
}
},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2024-01-01"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,19 @@
],
"responses": {
"200": {
"description": "Request successful. The operation restarts one or more Network Virtual Appliance VM resources."
"description": "Request successful. The operation restarts one or more Network Virtual Appliance VM resources.",
"schema": {
"$ref": "#/definitions/NetworkVirtualApplianceInstanceIds"
}
},
"202": {
"description": "Request accepted. The operation restarts one or more Network Virtual Appliance VM resources.",
"headers": {
"Location": {
"description": "The URL of the resource used to check the status of the asynchronous operation.",
"type": "string"
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
Expand All @@ -341,6 +353,10 @@
"Restart Specific NetworkVirtualAppliance VMs in VM Scale Set": {
"$ref": "./examples/NetworkVirtualApplianceSpecificRestart.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
Expand Down