Restarts an instance.

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-bp16o0pd52e3y****

The ID of the instance.

Components String No THRIFT

The component of the instance.

Response parameters

Parameter Type Example Description
RequestId String 70F2D5B8-632F-4045-8F2D-2ADF73A3****

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=RestartInstance
&ClusterId=hb-bp16o0pd52e3y****
&<Common request parameters>

Sample success responses

XML format

<RequestId>70F2D5B8-632F-4045-8F2D-2ADF73A3****</RequestId>

JSON format

{
  "RequestId": "70F2D5B8-632F-4045-8F2D-2ADF73A3****"
}

Error codes

For a list of error codes, visit the API Error Center.