视频智能分析服务 VIAS-查询边缘资源池详情:响应参数

时间:2024-04-19 18:19:51

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

id

String

边缘池ID

name

String

边缘池名称

description

String

描述信息

state

String

边缘池状态

project_id

String

用户项目ID

workspace_id

String

工作空间ID

created_at

Long

创建时间

updated_at

Long

更新时间

nodes

Array of EdgeNodeInfoDto objects

边缘节点列表

表4 EdgeNodeInfoDto

参数

参数类型

描述

id

String

边缘节点ID。

name

String

边缘池名称。

description

String

描述信息。描述为空则不返回该字段。

state

String

边缘池状态

cpu

Integer

CPU核心数量。

arch

String

计算机架构。

enable_gpu

Boolean

是否使用GPU。

enable_npu

Boolean

是否使用NPU。

memory

Integer

内存大小。

gpu_info

Array of GpuInfo objects

GPU信息。

npu_info

Array of NpuInfo objects

NPU信息。

表5 GpuInfo

参数

参数类型

描述

name

String

GPU卡名称

driver_version

String

GPU卡驱动版本

type

String

GPU卡类型

capacity

String

GPU卡容量

表6 NpuInfo

参数

参数类型

描述

name

String

NPU卡名称

driver_version

String

NPU卡驱动版本

type

String

NPU卡类型

capacity

String

NPU卡容量

状态码: 400

表7 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误信息描述

detail

String

错误详情

params

Array of strings

错误参数列举

数组长度:0 - 1

reason

String

错误原因

advice

String

建议

状态码: 500

表8 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误信息描述

detail

String

错误详情

params

Array of strings

错误参数列举

数组长度:0 - 1

reason

String

错误原因

advice

String

建议

support.huaweicloud.com/vias-api/ShowEdgePoolInfo.html