Query DRDS instances

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 DescribeDrdsDbRdsNameList

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

DbName String Yes drds_test

DRDS database name

DrdsInstanceId String Yes drdssen******

DRDS instance ID

AccessKeyId String No ASU678UDIN9Hd******

Access Key

Response parameters

Prameter Type Sample response Description
InstanceNameList rm-m5xxxxxxxxx82

Instance IDs

Instance name

Instance IDs

RequestId String 37537B38-A663-45CB-A81F-E3B202******

The ID of the request.

Success Boolean true

Indicates whether the call is successful.

Examples

Sample request


http(s)://[Endpoint]/? Action=DescribeDrdsDbRdsNameList
&DbName=drds_test
&DrdsInstanceId=drdssen******
& <Common request parameters>

Sample success responses

XML format

<DescribeDrdsDbRdsNameList>
	  <RequestId>37537B38-A663-45CB-A81F-E3B202******</RequestId>
	  <InstanceNameList>
		    <InstanceName>rm-m5xxxxxxxxx82</InstanceName>
	  </InstanceNameList>
	  <Success>true</Success>
</DescribeDrdsDbRdsNameList>

JSON format

{
	"InstanceNameList":{
		"InstanceName":[
			"rm-m5xxxxxxxxx82"
		]
	},
	"RequestId":"37537B38-A663-45CB-A81F-E3B202******",
	"Success":true
}

Error codes

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