You can call this operation to restart a specified node of an ApsaraDB for PolarDB 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
DBNodeId String Yes pi-xxxxxxxxxx

The ID of the cluster node to be restarted.

AccessKeyId String No key-test

The AccessKey ID provided to you by Alibaba Cloud.

Action String No RestartDBNode

The operation that you want to perform. Set the value to RestartDBNode.

Response parameters

Parameter Type Example Description
RequestId String D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=RestartDBNode
&DBNodeId=pi-xxxxxxxxxx
&<Common request parameters>

Sample success responses

XML format

<RestartDBNodeResponse>  
	  <RequestId>D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC</RequestId>
</RestartDBNodeResponse>

JSON format

{
	"RequestId":"D0CEC6AC-7760-409A-A0D5-E6CD8660E9CC"
}

Error codes

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