获取存储实例

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeStorageInstanceSubDbInfo

系统规定参数。取值:DescribeStorageInstanceSubDbInfo。

DbName String drds_flashback

数据库名

DrdsInstanceId String drdshbga76p61861

DRDS实例Id

InstanceId String rm-bp1x62vwa3wflh81m

RDS实例Id

AccessKeyId String **

拥有资源账号的ak

InstType String null

实例类型,暂时无用

返回数据

名称 类型 示例值 描述
Data

返回数据对象

Capacity Long 194560

容量

RdsInstanceId String rm-bp1x62vwa3wflh81m

RDS实例Id

SubDbList

db集合

SubDb

db集合

SubDbName String drds_flashback_b8cd_0005

分库名

Use Long 0

是否使用

WarningLevel Integer 0

告警等级

TipsType Integer 0

提示类型

Use Long 2293

使用情况

WarningLevel Integer 0

告警等级

RequestId String 78BA6289-5E03-4A31-8CB8-FC298DB63184

请求唯一ID,如果遇到问题请提供这个请求ID,由工作人员为您排查。

Success Boolean true

当前API是否请求成功

示例

请求示例

http(s)://[Endpoint]/?Action=DescribeStorageInstanceSubDbInfo&<公共请求参数>

正常返回示例

XML 格式

<DescribeStorageInstanceSubDbInfoResponse>      <code>200</code>      <data>            <RequestId>78BA6289-5E03-4A31-8CB8-FC298DB63184</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-bp1x62vwa3wflh81m</RdsInstanceId>            </Data>            <Success>true</Success>      </data>      <requestId>78BA6289-5E03-4A31-8CB8-FC298DB63184</requestId>      <successResponse>true</successResponse></DescribeStorageInstanceSubDbInfoResponse>

JSON 格式

{    “successResponse”:true,    “requestId”:”78BA6289-5E03-4A31-8CB8-FC298DB63184”,    “data”:{        “Data”:{            “WarningLevel”:0,            “TipsType”:0,            “RdsInstanceId”:”rm-bp1x62vwa3wflh81m”,            “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-FC298DB63184”,        “Success”:true    },    “code”:”200”}

错误码

访问错误中心查看更多错误码。

     </article>
  </main>