DeleteCluster
Description
call the DeleteCluster, delete the cluster instance according to the cluster ID, and release all node resources of the cluster.
Request Method
POST
Request Path
/apsara/route/CS/DeleteCluster
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
ClusterId | BODY | string | Yes | c905d1364c2dd4b6284a3f41790c4**** | cluster ID. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
retain_resources | array of string | No | sg-2ze6ess9kho6fdn9**** |
retain_all_resources | boolean | No | false |
keep_slb | boolean | No | false |
Example
Successful Response example
{
"retain_resources":"No",
"retain_all_resources":"No",
"keep_slb":"No"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}