Resets the number of connections between a DRDS instance and an RDS 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 ResetDrdsToRdsConnections

The operation that you want to perform. Valid values: ResetDrdsToRdsConnections.

DbName String Yes test

The name of the DRDS database.

DrdsInstanceId String Yes drds************

The ID of the DRDS instance.

Response parameters

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

The ID of the request.

Result String true

Result

Success Boolean true

The result of the operation.

Examples

Sample requests

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

Sample success responses

XML format

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

JSON format

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

Error codes

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