Checks whether the name of the CheckDrdsDbName database is valid.

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 CheckDrdsDbName

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

DbName String Yes drds_test

DRDS database name

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

DRDS instance ID

Response parameters

Parameter Type Example Description
RequestId String CF38538C-68BD-4278-B58F-EDE96F******

The ID of the request.

Result Boolean true

Indicates whether the DRDS database name is valid. Valid values: true: The database name is valid. false: the database name is invalid.

Success Boolean true

Indicates whether the call is successful.

Examples

Sample requests

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

Sample success responses

XML format

<Result>true</Result>
<RequestId>CF38538C-68BD-4278-B58F-EDE96F******</RequestId>
<Success>true</Success>

JSON format

{
    "Result": true,
    "RequestId": "CF38538C-68BD-4278-B58F-EDE96F******",
    "Success": true
}

Error codes

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