Stops one or more running cloud desktops. After a successful call, the specified cloud desktops enter the Stopped state.
Operation description
The cloud desktops must be in the Running state.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:StopDesktops |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to get a list of regions that Elastic Desktop Service supports. |
cn-hangzhou |
| StoppedMode |
string |
No |
Specifies the billing mode for the cloud desktops after they are stopped. Valid values:
|
StopCharging |
| DesktopId |
array |
Yes |
An array of 1 to 100 cloud desktop IDs. |
ecd-7w78ozhjcwa3u**** |
|
string |
No |
A cloud desktop ID. |
ecd-7w78ozhjcwa3u**** |
|
| OsUpdate |
boolean |
No |
Specifies whether to apply pending patch updates. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.