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

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

响应

  • 响应参数

    参数

    是否必选

    类型

    值域

    说明

    code

    String

    返回码。

    msg

    String

    返回消息。

    total

    Integer

    数据条数。

    service_type

    String

    云服务名,标识资源所属的云服务SFS弹性文件服务。

    timestamp

    Long

    时间戳。

    region

    String

    资源所属region中文名。

    zone_type

    String

    资源所属的区域类型:SFS_POD租户区用。

    total(list内)

    String

    可用总量,xxTB(弹性文件服务存储容量单位)。

    allocated

    String

    已分配使用量,xxTB。

    metric_type

    String

    弹性文件服务规格指标(虚拟存储空间,不体现后端具体规格)。

    avaliable

    String

    剩余量,xxTB。

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