You can call this operation to restart a cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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.