Queries the list of storage instances by calling the DescribeDrdsDbRdsNameList operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:DescribeDrdsDbRdsNameList |
get |
*instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
||
| DrdsInstanceId |
string |
Yes |
The instance ID. |
drdsxxxxxxxxxxx |
| DbName |
string |
Yes |
The database name. |
drds_test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| RequestId |
string |
The request ID. |
7E6FA2BF-05F2-44DD-95C0-D1B5B8xxxxxx |
| InstanceNameList |
object |
||
| InstanceName |
array |
||
|
string |
The list of storage instance IDs. |
rm-bpxxxxxxxxxxxxxxx |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "7E6FA2BF-05F2-44DD-95C0-D1B5B8xxxxxx",
"InstanceNameList": {
"InstanceName": [
"rm-bpxxxxxxxxxxxxxxx"
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.