政企自服务管理 ESM-查询RDS容量:响应

时间:2025-02-12 14:58:00

响应

  • 响应参数

    参数

    是否必选

    类型

    值域

    说明

    code

    String

    返回码。

    msg

    String

    返回消息。

    total

    Integer

    数据条数。

    service_type

    String

    云服务名,标识资源所属的云服务RDS云数据库服务。

    timestamp

    Long

    时间戳。

    region

    String

    资源所属region中文名。

    zone_type

    String

    资源所属区域类型:RDS_POD租户区使用。

    total(list内)

    String

    可用总量,xx台(单位:实例数)。

    allocated

    String

    已分配发放量,xx台(单位:实例数)。

    avaliable

    String

    剩余可发放量,xx台(单位:实例数)。

    metric_type

    String

    RDS服务指标类型;如:后端为SQLServer关系型DB实例,NoSQLServer非关系DB实例。

  • 响应示例
    HTTP/1.1 200  OKDate:Tue,18 Jul 2023 09:58:01 GMTServer: example.comContent-Type: application/json;charset=UTF8 {     "total":33,     "list":[             {             "service_type":"RDS",             "metric_type":"dbtype:sqlServer/nosqlServer",             "total":"总数量,单位台",             "used":"已使用量",             "free":"剩余量",             "allocated":"可分配量",             "available":"可用量",             "used_ratio":"null",             "allocated_ratio":"null",             "resource_count":"null",             "zone_type":"RDS_POD",             "timestamp":"时间戳",             "region":"cn-north-1"             }           ] }
support.huaweicloud.com/api-esm/esm_08_0022.html