政企自服务管理 ESM-查询物理设备资源容量 - QueryCapacitiesOfPhysicalResources:请求

时间:2025-11-26 11:31:40

请求

  • 请求header参数

    参数

    是否必选

    类型

    值域

    说明

    X-APIG-Appcode

    string

    由SRE分配的AppCode。

    x-auth-token

    string

    调用方APIG的 IAM 认证token。

    x-hcso-domainid

    是(H CS O场景)

    否(其他场景)

    string

    接入的租户ID。

    x-hcso-appcode

    string

    由SRE分配的AppCode

  • 查询参数

    参数

    是否必选

    类型

    值域

    说明

    device_type

    string

    ECS/EVS

    设备类型:ECS-计算(物理计算),EVS-存储(物理存储)。

    zone_type

    string

    manage/pod

    manage管理区,pod租户区。

    begin_time

    int

    查询开始时间(毫秒时间戳)。

    end_time

    int

    查询结束时间(毫秒时间戳)。

    page_size

    int

    0~1000

    页大小。

    offset_value

    int

    查询起始值。

  • 请求body参数

  • 请求示例
    GET /rest/dataapi/homs/open-api/v1/host-physical/capacity HTTP/1.1 
    Host: example.com
    Content-Type: application/json 
    Accept: application/json
    X-APIG-Appcode: xxx 
    x-auth-token: xxx 
    x-hcso-domainid:xxx 
    x-hcso-appcode:xxx
support.huaweicloud.com/api-esm/esm_08_0014.html