Skip to content

Commit

Permalink
[SCVMM] Make the request body optional for VirtualMachineInstances/St…
Browse files Browse the repository at this point in the history
…op (Azure#30401)

* Make the stop machine request body optional

* [tsp compile] Update scvmm.json for 2023-10-07

* [tsp compile] Update scvmm.json for 2024-06-01

* Create sdk-suppressions.yaml

---------

Co-authored-by: kazrael2119 <[email protected]>
  • Loading branch information
2 people authored and Shakha Ismatullaeva committed Oct 8, 2024
1 parent 8db3b5b commit 153eacc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
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

0 comments on commit 153eacc

Please sign in to comment.