请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | DescribeDrdsDbInstance | 系统规定参数,取值:DescribeDrdsDbInstance |
DbInstanceId | String | 是 | rm-bp13z14u0iyk9trrw | DRDS 存储实例 ID |
DbName | String | 是 | drds_test | DRDS 数据库名 |
DrdsInstanceId | String | 是 | drdssen1243as | DRDS 实例 ID |
AccessKeyId | String | 否 | ASU678UDIN9HdlahDHH | Access Key |
返回数据
名称 | 类型 | 示例值 | 描述 |
DbInstance | DRDS 存储实例详情 |
||
RequestId | String | 2F7F8080-9132-4279-85D0-B7E5C4305162 | 请求 ID |
Success | Boolean | true | 是否成功 |
示例
请求示例
http(s)://[Endpoint]/?Action=DescribeDrdsDbInstance &DbInstanceId=rm-bp13z14u0iyk9trrw &DbName=drds_test &DrdsInstanceId=drdssen1243as &<公共请求参数>
正常返回示例
XML
格式
<DescribeDrdsDbInstance> <RequestId>2F7F8080-9132-4279-85D0-B7E5C4305162</RequestId> <DbInstance> <DbInstType>RDS</DbInstType> <ReadOnlyInstances></ReadOnlyInstances> <EngineVersion>5.7</EngineVersion> <DBInstanceStatus>1</DBInstanceStatus> <Port>3306</Port> <PayType>Postpaid</PayType> <ReadWeight>100</ReadWeight> <ConnectUrl>rm-bp1ub71ct9skc3y.mysql.rds.aliyuncs.com</ConnectUrl> <DBInstanceId>rm-bp1ub71ct9skc3y</DBInstanceId> <NetworkType>VPC</NetworkType> <RdsInstType>Primary</RdsInstType> <ExpireTime></ExpireTime> <RemainDays>0</RemainDays> <Engine>MySQL</Engine> </DbInstance> <Success>true</Success> </DescribeDrdsDbInstance>
JSON
格式
{ "DbInstance":{ "RemainDays":0, "ReadOnlyInstances":{ "ReadOnlyInstance":[] }, "DBInstanceId":"rm-bp1ub71ct9skc3y", "ReadWeight":100, "RdsInstType":"Primary", "DbInstType":"RDS", "ConnectUrl":"rm-bp1ub71ct9skc3y.mysql.rds.aliyuncs.com", "Engine":"MySQL", "NetworkType":"VPC", "Port":3306, "ExpireTime":"", "EngineVersion":"5.7", "DBInstanceStatus":1, "PayType":"Postpaid" }, "RequestId":"2F7F8080-9132-4279-85D0-B7E5C4305162", "Success":true }
错误码
访问错误中心查看更多错误码。