Obtain the storage instance
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeStorageInstanceSubDbInfo |
The operation that you want to perform. Set the value to DescribeStorageInstanceSubDbInfo. |
DbName | String | Yes | drds_flashback |
The name of the DRDS database. |
DrdsInstanceId | String | Yes | drdshbga76****** |
The ID of the DRDS instance. |
InstanceId | String | Yes | rm-bp1x62vwa3w****** |
The ID of the storage instance, namely, ApsaraDB for RDS (RDS) instance. |
AccessKeyId | String | No | ****** |
The AccessKey ID with a resource account. |
InstType | String | No | null |
The type of the storage instance. This parameter is currently unavailable. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Data: data disk |
The returned data object. |
||
Capacity | Long | 194560 |
Capacity |
RdsInstanceId | String | rm-bp1x62vwa3w****** |
The ID of the storage instance, namely, ApsaraDB for RDS (RDS) instance. |
SubDbList |
db collection |
||
SubDb |
db collection |
||
SubDbName | String | drds_flashback_b8cd_0005 |
Database name |
Use | Long | 0 |
Whether to use |
WarningLevel | Integer | 0 |
Level |
TipsType | Integer | 0 |
Prompt type |
Use | Long | 2293 |
Usage |
WarningLevel | Integer | 0 |
Level |
RequestId | String | 78BA6289-5E03-4A31-8CB8-FC298D****** |
The unique ID of the request. If any problem occurs, provide this request ID for troubleshooting. |
Success | Boolean | true |
Indicates whether the API request is successful. |
Examples
Sample request
http(s)://[Endpoint]/? Action=DescribeStorageInstanceSubDbInfo
&<Common request parameters>
Sample success responses
XML
format
<DescribeStorageInstanceSubDbInfoResponse>
<code>200</code>
<data>
<RequestId>78BA6289-5E03-4A31-8CB8-FC298D******</RequestId>
<Data>
<SubDbList>
<SubDb>
<WarningLevel>0</WarningLevel>
<Use>0</Use>
<SubDbName>drds_flashback_b8cd_0005</SubDbName>
</SubDb>
<SubDb>
<WarningLevel>0</WarningLevel>
<Use>0</Use>
<SubDbName>drds_flashback_b8cd_0004</SubDbName>
</SubDb>
<SubDb>
<WarningLevel>0</WarningLevel>
<Use>0</Use>
<SubDbName>drds_flashback_b8cd_0003</SubDbName>
</SubDb>
<SubDb>
<WarningLevel>0</WarningLevel>
<Use>0</Use>
<SubDbName>drds_flashback_b8cd_0002</SubDbName>
</SubDb>
<SubDb>
<WarningLevel>0</WarningLevel>
<Use>0</Use>
<SubDbName>drds_flashback_b8cd_0007</SubDbName>
</SubDb>
<SubDb>
<WarningLevel>0</WarningLevel>
<Use>0</Use>
<SubDbName>drds_flashback_b8cd_0006</SubDbName>
</SubDb>
<SubDb>
<WarningLevel>0</WarningLevel>
<Use>0</Use>
<SubDbName>drds_flashback_b8cd_0001</SubDbName>
</SubDb>
<SubDb>
<WarningLevel>0</WarningLevel>
<Use>0</Use>
<SubDbName>drds_flashback_b8cd_0000</SubDbName>
</SubDb>
<SubDb>
<WarningLevel>3</WarningLevel>
<Use>2293</Use>
<SubDbName>other data</SubDbName>
</SubDb>
</SubDbList>
<WarningLevel>0</WarningLevel>
<Capacity>194560</Capacity>
<Use>2293</Use>
<TipsType>0</TipsType>
<RdsInstanceId>rm-bp1x62vwa3w******</RdsInstanceId>
</Data>
<Success>true</Success>
</data>
<requestId>78BA6289-5E03-4A31-8CB8-FC298D******</requestId>
<successResponse>true</successResponse>
</DescribeStorageInstanceSubDbInfoResponse>
JSON
format
{
"successResponse":true,
"requestId":"78BA6289-5E03-4A31-8CB8-FC298D******",
"data":{
"Data":{
"WarningLevel":0,
"TipsType":0,
"RdsInstanceId":"rm-bp1x62vwa3w******",
"SubDbList":{
"SubDb":[
{
"WarningLevel":0,
"SubDbName":"drds_flashback_b8cd_0005",
"Use":0
},
{
"WarningLevel":0,
"SubDbName":"drds_flashback_b8cd_0004",
"Use":0
},
{
"WarningLevel":0,
"SubDbName":"drds_flashback_b8cd_0003",
"Use":0
},
{
"WarningLevel":0,
"SubDbName":"drds_flashback_b8cd_0002",
"Use":0
},
{
"WarningLevel":0,
"SubDbName":"drds_flashback_b8cd_0007",
"Use":0
},
{
"WarningLevel":0,
"SubDbName":"drds_flashback_b8cd_0006",
"Use":0
},
{
"WarningLevel":0,
"SubDbName":"drds_flashback_b8cd_0001",
"Use":0
},
{
"WarningLevel":0,
"SubDbName":"drds_flashback_b8cd_0000",
"Use":0
},
{
"WarningLevel":3,
"SubDbName":"other data",
"Use":2293
}
]
},
"Capacity":194560,
"Use":2293
},
"RequestId":"78BA6289-5E03-4A31-8CB8-FC298D******",
"Success":true
},
"code":"200"
}
Error codes
For a list of error codes, visit the API Error Center.