华为乾坤-查询站点下设备性能信息:URI

时间:2025-05-12 15:31:31

URI

/controller/campus/v1/sdwan/performance/site/device/list

表1 query参数列表

参数名称

必选

类型

参数值域

默认值

参数说明

参数示例

siteId

string

0~36个字符。

-

站点标识,UUID格式,可由网络侧提供接口获取。

"fbb684c8-0d37-496f-bafa-4b06d515j7l6"

metric

string

-

-

查询指标,该字段可以设置为以下几种:

a) cpu:CPU,单位是百分比(%)。

b) memory:内存,单位是百分比(%)。

c) temperature:温度,单位是摄氏度(℃)。

d) harddisk:硬盘,单位是百分比(%)。

如果查询多个指标用逗号分隔(如:cpu,memory)。

"cpu"

startTime

string

满足正则表达\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})(Z|[\+\-]\d{2}:\d{2})。

-

查询的开始时间,UTC时间,直接调用URL,特殊符号参数需要手动转义,如"+"使用"%2B"代替。

"1985-04-12T23:20:50.052Z"

endTime

string

满足正则表达\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})(Z|[\+\-]\d{2}:\d{2})。

-

查询的结束时间,UTC时间,直接调用URL,特殊符号参数需要手动转义,如"+"使用"%2B"代替。

"1985-04-12T23:20:50.052Z"

support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002128520734.html