Stops a cluster.
Description
If you stop a subscription compute node, its billing is not affected. If you stop a pay-as-you-go compute node for which you have enabled the economical mode, you are no longer charged for its computing resources. For more information, see Economical mode.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | StopCluster |
The operation that you want to perform. Set the value to StopCluster. |
ClusterId | String | Yes | ehpc-hz-FYUr32**** |
The ID of the cluster. You can call the ListClusters operation to query the cluster ID. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 04F0F334-1335-436C-A1D7-6C044FE7**** |
The ID of the request. |
TaskId | String | 04F0F334-1335-436C-A1D7-6C044FE7**** |
The ID of the task. |
Examples
Sample requests
https://ehpc.cn-hangzhou.aliyuncs.com/?Action=StopCluster
&ClusterId=ehpc-hz-FYUr32****
&<Common request parameters>
Sample success responses
XML
format
<StopClusterResponse>
<TaskId>04F0F334-1335-436C-A1D7-6C044FE7****</TaskId>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE7****</RequestId>
</StopClusterResponse>
JSON
format
{
"TaskId": "04F0F334-1335-436C-A1D7-6C044FE7****",
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The error message returned because the request has failed. The service is temporarily unavailable. |
For a list of error codes, visit the API Error Center.