You can call this operation to restart a cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | RestartInstance |
The operation that you want to perform. Set the value to RestartInstance. |
ClusterId | String | Yes | hb-bp16o0pd52e3y582s |
The ID of the cluster. |
Components | String | No | THRIFT |
The component. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 70F2D5B8-632F-4045-8F2D-2ADF73A31C08 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=RestartInstance
&ClusterId=hb-bp16o0pd52e3y582s
&<Common request parameters>
Sample success responses
XML
format
<RequestId>70F2D5B8-632F-4045-8F2D-2ADF73A31C08</RequestId>
JSON
format
{
"RequestId":"70F2D5B8-632F-4045-8F2D-2ADF73A31C08"
}
Error codes
For a list of error codes, visit the API Error Center.