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

[Fleet] 2024-02-02-preview skip operation sync to async #27745

Merged
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -365,7 +365,7 @@ interface UpdateRuns {

@doc("Skips one or a combination of member/group/stage/afterStageWait(s) of an update run.")
@added(Versions.v2024_02_02_preview)
skip is ArmResourceActionSync<
skip is ArmResourceActionAsync<
UpdateRun,
SkipProperties,
UpdateRun,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1255,6 +1255,20 @@
"$ref": "#/definitions/UpdateRun"
}
},
"202": {
"description": "Resource operation accepted.",
"headers": {
"Retry-After": {
"type": "integer",
"format": "int32",
"description": "The Retry-After header can indicate how long the client should wait before polling the operation status."
},
"Location": {
"type": "string",
"description": "The Location header contains the URL where the status of the long running operation can be checked."
}
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
Expand All @@ -1266,7 +1280,11 @@
"Skips one or more member/group/stage/afterStageWait(s) of an UpdateRun.": {
"$ref": "./examples/UpdateRuns_Skip.json"
}
}
},
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName}/start": {
Expand Down