请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
Action | String | 是 | DescribeDrdsRdsInstances | 系统规定参数,取值为DescribeDrdsRdsInstances。 |
DrdsInstanceId | String | 是 | drds************* | PolarDB-X实例ID。 说明 您可以调用DescribeDrdsInstances查看目标账号下所有实例详情,包括实例ID。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
DbInstances | Array of DbInstance | 存储层私有定制RDS实例信息详情。 |
|
RequestId | String | 123DB16B-02F2-45F7-A571-843991****** | 请求ID。 |
Success | Boolean | true | 请求是否成功。 |
示例
请求示例
http(s)://drds.aliyuncs.com/?Action=DescribeDrdsRdsInstances &DrdsInstanceId=drds************* &<公共请求参数>
正常返回示例
XML
格式
<RequestId>123DB16B-02F2-45F7-A571-843991******</RequestId> <DbInstances> <DbInstance> <DbInstType>RDS</DbInstType> <DBInstanceMemory>8192</DBInstanceMemory> <EngineVersion>8</EngineVersion> <DBInstanceStatus>6</DBInstanceStatus> <Port>3306</Port> <PayType>PostPaid</PayType> <DBInstanceCPU>4</DBInstanceCPU> <DBInstanceClassType>x</DBInstanceClassType> <ConnectUrl>rm-************.mysql.rds.aliyuncs.com</ConnectUrl> <ReadWeight>0</ReadWeight> <DBInstanceId>rm-************</DBInstanceId> <NetworkType>VPC</NetworkType> <DBInstanceStorage>20</DBInstanceStorage> <RdsInstType>Primary</RdsInstType> <DmInstanceId>dm-************</DmInstanceId> <Engine>MySQL</Engine> </DbInstance> </DbInstances> <Success>true</Success>
JSON
格式
{ "RequestId": "123DB16B-02F2-45F7-A571-843991******", "DbInstances": { "DbInstance": { "DbInstType": "RDS", "DBInstanceMemory": 8192, "EngineVersion": 8, "DBInstanceStatus": 6, "Port": 3306, "PayType": "PostPaid", "DBInstanceCPU": 4, "DBInstanceClassType": "x", "ConnectUrl": "rm-************.mysql.rds.aliyuncs.com", "ReadWeight": 0, "DBInstanceId": "rm-************", "NetworkType": "VPC", "DBInstanceStorage": 20, "RdsInstType": "Primary", "DmInstanceId": "dm-************", "Engine": "MySQL" } }, "Success": true }
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
500 | InternalError | The request processing has failed due to some unknown error. | 请求失败,内部错误 |
访问错误中心查看更多错误码。