Call the RestartDrdsInstance operation to restart the 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 Required RestartDrdsInstance

Required parameter. Value: RestartDrdsInstance.

DrdsInstanceId String Required drds************

The ID of a DRDS instance.

Response parameters

Parameter Type Example Description
RequestId String A3140FC7-B78B-4D8E-B0C8-926D28******

The ID of the request.

Success Boolean true

Indicates whether the database creation failure records were removed from the PolarDB-X instance.

TaskId Long 1

The ID of the task.

Examples

Sample requests

http(s)://drds.aliyuncs.com/? Action=RestartDrdsInstance
&DrdsInstanceId=drds************
&<Common request parameters>

Sample success responses

XML format

<RequestId>A3140FC7-B78B-4D8E-B0C8-926D28******</RequestId>
<Success>true</Success>
<TaskId>1</TaskId>

JSON format

{
	"RequestId": "A3140FC7-B78B-4D8E-B0C8-926D28******",
	"Success":true,
    "TaskId":1
}

Error codes

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