Releases a cluster.
Description
After a cluster is released, the pay-as-you-go nodes and the subscription nodes that have expired are automatically released. The subscription nodes that have not expired are retained. If you need to release the subscription nodes that have not expired, change their billing method to pay-as-you-go. Before you release a cluster, make sure that you will no longer use the cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteCluster |
The operation that you want to perform. Set the value to DeleteCluster. |
ClusterId | String | Yes | ehpc-hz-QKKVqO**** |
The ID of the cluster. You can call the ListClusters operation to query the cluster ID. |
ReleaseInstance | String | No | true |
Specifies whether to release Elastic Compute Service (ECS) instances that are created by using Elastic High Performance Computing (E-HPC). Default value: true |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | F1AB6D8D-E185-4D94-859C-7CE7B8B7**** |
The ID of the request. |
TaskId | String | F1AB6D8D-E185-4D94-859C-7CE7B8B7**** |
The ID of the task. |
Examples
Sample requests
https://ehpc.cn-hangzhou.aliyuncs.com/?Action=DeleteCluster
&ClusterId=ehpc-hz-QKKVqO****
&<Common request parameters>
Sample success responses
XML
format
<DeleteClusterResponse>
<TaskId>F1AB6D8D-E185-4D94-859C-7CE7B8B7****</TaskId>
<RequestId>F1AB6D8D-E185-4D94-859C-7CE7B8B7****</RequestId>
</DeleteClusterResponse>
JSON
format
{
"TaskId": "F1AB6D8D-E185-4D94-859C-7CE7B8B7****",
"RequestId": "F1AB6D8D-E185-4D94-859C-7CE7B8B7****"
}
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.