政企自服务管理 ESM-查询VPN容量:请求

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

请求

  • 请求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

  • 查询参数

    参数

    是否必选

    类型

    值域

    说明

    begin_time

    int

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

    end_time

    int

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

    service_type

    string

    VPN

    服务类型。

    zone_type

    string

    VPN_POD

    VPN专属区。

    page_size

    int

    0~1000

    页大小。

    offset_value

    int

    查询起始值。

  • 请求body参数

  • 请求示例
    GET /rest/dataapi/homs/open-api/v1/CloudService/capacity?service_type=VPN HTTP/1.1 Host: example.comContent-Type: application/json Accept: application/jsonX-APIG-Appcode: xxx x-auth-token: xxx x-hcso-domainid:xxx x-hcso-appcode:xxx 
support.huaweicloud.com/api-esm/esm_08_0026.html