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

[SCVMM] Make the request body optional for VirtualMachineInstances/Stop #30401

Merged
merged 5 commits into from
Oct 3, 2024
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 @@ -106,7 +106,11 @@ interface VirtualMachineInstances {
@summary("Implements the operation to stop a virtual machine.")
stop is ArmResourceActionNoResponseContentAsync<
VirtualMachineInstance,
StopVirtualMachineOptions
{
/** The content of the action request */
@body
body?: StopVirtualMachineOptions;
}
>;
/** The operation to start a virtual machine instance. */
@summary("Implements the operation to start a virtual machine.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@
"name": "body",
"in": "body",
"description": "The content of the action request",
"required": true,
"required": false,
"schema": {
"$ref": "#/definitions/StopVirtualMachineOptions"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@
"name": "body",
"in": "body",
"description": "The content of the action request",
"required": true,
"required": false,
"schema": {
"$ref": "#/definitions/StopVirtualMachineOptions"
}
Expand Down
6 changes: 6 additions & 0 deletions specification/scvmm/resource-manager/sdk-suppressions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
suppressions:
azure-sdk-for-js:
- package: "@azure/arm-scvmm"
breaking-changes:
- Operation VirtualMachineInstances.beginStop has a new signature
- Operation VirtualMachineInstances.beginStopAndWait has a new signature