华为HiLens-查询设备列表:响应示例

时间:2025-02-12 15:03:28

响应示例

状态码: 200

请求成功

{  "count" : 26,  "nodes" : [ {    "firmware_status" : null,    "cluster_node_type" : "cluster_controller",    "cpu" : 16,    "created_at" : "2022-02-16 11:01:23 GMT+08:00",    "type" : "General ARM Device",    "gpu_num" : 0,    "firmware_upgrade_record" : null,    "host_ips" : [ "10.90.47.209" ],    "tags" : { },    "firmware_name" : "HiLens_Device_Agent",    "cluster_id" : "hilens-cf7d36a328334a7599f4004fe917adcb",    "active_status" : "ACTIVATED",    "npu_num" : 1,    "name" : "hilens-209",    "id" : "hilens-989c34eeaeda4a5380b7d9f2b101f7f1",    "state" : "RUNNING",    "upgrade_firmware_version" : null,    "cluster_node_state" : "RUNNING"  }, {    "firmware_status" : null,    "cluster_node_type" : null,    "cpu" : 0,    "created_at" : "2022-02-16 10:33:05 GMT+08:00",    "type" : "General ARM Device",    "gpu_num" : 0,    "firmware_upgrade_record" : null,    "host_ips" : [ ],    "tags" : { },    "firmware_name" : null,    "cluster_id" : null,    "active_status" : "INACTIVE",    "npu_num" : 0,    "name" : "ddp-test111",    "id" : "hilens-1027a354fd1c4f2b81fba6d6081ce19f",    "state" : "UNCONNECTED",    "upgrade_firmware_version" : null,    "cluster_node_state" : null  }, {    "firmware_status" : null,    "cluster_node_type" : null,    "cpu" : 0,    "created_at" : "2022-02-13 21:25:32 GMT+08:00",    "type" : "General x86 Device",    "gpu_num" : 0,    "firmware_upgrade_record" : null,    "host_ips" : [ ],    "tags" : { },    "firmware_name" : null,    "cluster_id" : null,    "active_status" : "INACTIVE",    "npu_num" : 0,    "name" : "my-test-device",    "id" : "hilens-3f665c35ea3b471880c1499e05a3c630",    "state" : "UNCONNECTED",    "upgrade_firmware_version" : null,    "cluster_node_state" : null  }, {    "firmware_status" : null,    "cluster_node_type" : "cluster_controller",    "cpu" : 16,    "created_at" : "2022-02-11 17:07:32 GMT+08:00",    "type" : "General ARM Device",    "gpu_num" : 0,    "firmware_upgrade_record" : null,    "host_ips" : [ "10.90.47.208" ],    "tags" : { },    "firmware_name" : "HiLens_Device_Agent",    "cluster_id" : "hilens-cf7d36a328334a7599f4004fe917adcb",    "active_status" : "ACTIVATED",    "npu_num" : 1,    "name" : "hilens-208",    "id" : "hilens-4f7ff1e5da1c4051861e50b336efde0b",    "state" : "RUNNING",    "upgrade_firmware_version" : null,    "cluster_node_state" : "FAIL"  }, {    "firmware_status" : null,    "cluster_node_type" : null,    "cpu" : 48,    "created_at" : "2022-02-10 20:44:43 GMT+08:00",    "type" : "General x86 Device",    "gpu_num" : 3,    "firmware_upgrade_record" : null,    "host_ips" : [ "10.216.139.114" ],    "tags" : { },    "firmware_name" : "HiLens_Device_Agent_x86",    "cluster_id" : null,    "active_status" : "ACTIVATED",    "npu_num" : 0,    "name" : "egypt-x86-test-114",    "id" : "hilens-e2423376a61e4265a2ffd253a3493b35",    "state" : "FAIL",    "upgrade_firmware_version" : null,    "cluster_node_state" : null  } ]}
support.huaweicloud.com/api-hilens/ListNodeUsingGeT.html