Stop cloud computers that are in the Running state. After the operation is successfully called, the cloud computers enter the Stopped state.
Operation description
The cloud computers that you want to stop must be in the Running state.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
StoppedMode | string | No | The billing mode after you stop the cloud computer. Default value: StopCharging. Valid values:
| StopCharging |
DesktopId | array | Yes | The IDs of the cloud computers. You can specify 1 to 20 IDs. | |
string | Yes | The ID of a cloud computer. | ecd-7w78ozhjcwa3u**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|