Queries the data of ApsaraDB RDS for MySQL instances that are purchased for a PolarDB-X 1.0 instance.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | DescribeRdsCommodity |
The operation that you want to perform. Set the value to DescribeRdsCommodity. |
| CommodityCode | String | Yes | drdsPost |
The commodity code of the service. |
| DrdsInstanceId | String | Yes | drds*********** |
The ID of the PolarDB-X 1.0 instance. |
| OrderType | String | No | 1 |
The type of the order. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| Data | String | test |
Indicates the returned result. |
| RequestId | String | DC3ABA3E-0F8A-4596-9104-F5155C34315B |
Indicates the ID of the request. |
| Success | Boolean | true |
Indicates whether the request is successful. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeRdsCommodity
&CommodityCode=drdsPost
&DrdsInstanceId=drds***********
&<Common request parameters>
Sample success responses
XML format
<RequestId>DC3ABA3E-0F8A-4596-9104-F5155C34315B</RequestId>
<Data>test</Data>
<Success>true</Success>
JSON format
{"RequestId":"DC3ABA3E-0F8A-4596-9104-F5155C34315B","Data":"test","Success":"true"}
Error codes
| HttpCode | Error code | Error message | Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. | The error message returned because an internal error has occurred. |
For a list of error codes, visit the API Error Center.