智能边缘平台 IEF-查询边缘节点组详情:响应示例

时间:2025-02-12 14:52:48

响应示例

状态码: 200

查询成功

{  "id" : "e4f9c0d6-e1d7-41d5-a108-f38aa8372ffd",  "name" : "test1",  "description" : "",  "created_at" : "2022-06-07 08:21:05.794205 +0000 UTC",  "updated_at" : "2022-06-07 08:21:05.794217 +0000 UTC",  "project_id" : "xxx",  "iam_role" : "",  "memory" : 8595,  "cpu" : 5,  "gpu_num" : 0,  "nodes" : [ {    "id" : "024e05a8-89bf-46d8-b298-700a2af69605",    "project_id" : "xxx",    "name" : "test1",    "description" : "",    "created_at" : "2022-08-05 02:14:52.351802 +0000 UTC",    "updated_at" : "2022-10-31 19:19:37.104359 +0000 UTC",    "state" : "RUNNING",    "master_addr" : "xxx/xxx",    "arch" : "x86_64",    "enable_gpu" : false,    "gpu_info" : [ ],    "gpu_num" : 0,    "memory" : 990,    "os_version" : "3.10.0-1062.12.1.el7.x86_64",    "os_name" : "CentOS Linux 7 (Core)",    "device_infos" : null,    "os_type" : "linux",    "pause_docker_image" : "",    "host_name" : "test1",    "cpu" : 1,    "log_configs" : [ {      "level" : "on",      "rotate_num" : 5,      "component" : "app",      "rotate_period" : "yearly",      "type" : "LTS",      "id" : "",      "size" : 50    }, {      "level" : "info",      "rotate_num" : 5,      "component" : "system",      "rotate_period" : "yearly",      "type" : "LTS",      "id" : "",      "size" : 50    }, {      "level" : "",      "rotate_num" : 5,      "component" : "app",      "rotate_period" : "daily",      "type" : "local",      "id" : "",      "size" : 50    }, {      "level" : "info",      "rotate_num" : 5,      "component" : "system",      "rotate_period" : "daily",      "type" : "local",      "id" : "",      "size" : 50    } ],    "host_ips" : [ "192.168.0.x" ],    "edged_version" : "2.1.0",    "deployment_num" : 1,    "device_num" : 2,    "upgrade_history" : [ {      "to_version" : "2.55.8",      "upgrade_time" : 1659694662,      "id" : 0,      "result" : "install_success",      "from_version" : "",      "dur_time" : 0    }, {      "to_version" : "2.55.9",      "upgrade_time" : 1660642318,      "id" : 1,      "result" : "upgrade_success",      "from_version" : "2.55.8",      "dur_time" : 30    }, {      "to_version" : "2.56.0",      "upgrade_time" : 1662019732,      "id" : 2,      "result" : "upgrade_success",      "from_version" : "2.55.9",      "dur_time" : 29    }, {      "to_version" : "2.56.0",      "upgrade_time" : 1663125401,      "id" : 3,      "result" : "upgrade_failed_rollback_success",      "from_version" : "2.56.0",      "dur_time" : 3    } ],    "ief_node_version" : "2.3.0",    "upgrade_flag" : false,    "comment" : "",    "ca" : "",    "relation" : "",    "certificate" : "",    "private_key" : "",    "attributes" : null,    "package" : "",    "tags" : null,    "product_id" : "",    "mqtt_mode" : "internal",    "mqtt_internal" : "",    "mqtt_external" : "",    "enable_npu" : false,    "npu_type" : "",    "docker_enable" : null,    "npu_num" : 0,    "npu_info" : [ ],    "node_type" : "",    "ntp_configs" : null,    "nics" : null,    "error_reason" : "",    "container_runtime_version" : "",    "purchase_id" : "",    "state_details" : {      "register_stat" : "",      "purchase_stat" : "",      "purchase_error" : ""    },    "cert_remaining_valid_time" : 0  }, {    "id" : "de5d81fe-a58e-4ec4-be9d-f3906d7fe356",    "project_id" : "xxx",    "name" : "cjq-test-1008",    "description" : "",    "created_at" : "2022-10-07 23:19:18.147956 +0000 UTC",    "updated_at" : "2022-10-27 23:20:09.631153 +0000 UTC",    "state" : "RUNNING",    "master_addr" : "xxx",    "arch" : "x86_64",    "enable_gpu" : false,    "gpu_info" : [ ],    "gpu_num" : 0,    "memory" : 7805,    "os_version" : "3.10.0-862.14.1.5.h408.eulerosv2r7.x86_64",    "os_name" : "EulerOS 2.0 (SP5)",    "device_infos" : null,    "os_type" : "linux",    "pause_docker_image" : "",    "host_name" : "ecs-81ba",    "cpu" : 4,    "log_configs" : null,    "host_ips" : [ "192.168.0.161" ],    "edged_version" : "2.1.0",    "deployment_num" : 1,    "device_num" : 0,    "upgrade_history" : [ {      "to_version" : "2.53.4",      "upgrade_time" : 1665215216,      "id" : 0,      "result" : "install_success",      "from_version" : "",      "dur_time" : 0    }, {      "to_version" : "2.56.5",      "upgrade_time" : 1666839798,      "id" : 1,      "result" : "upgrade_success",      "from_version" : "2.56.4",      "dur_time" : 22    }, {      "to_version" : "2.56.6",      "upgrade_time" : 1666872187,      "id" : 2,      "result" : "upgrade_success",      "from_version" : "2.56.5",      "dur_time" : 23    } ],    "ief_node_version" : "2.56.6",    "upgrade_flag" : false,    "comment" : "",    "ca" : "",    "relation" : "",    "certificate" : "",    "private_key" : "",    "attributes" : null,    "package" : "",    "tags" : null,    "product_id" : "",    "mqtt_mode" : "internal",    "mqtt_internal" : "",    "mqtt_external" : "",    "enable_npu" : false,    "npu_type" : "",    "docker_enable" : null,    "npu_num" : 0,    "npu_info" : [ ],    "node_type" : "",    "ntp_configs" : null,    "nics" : null,    "error_reason" : "",    "container_runtime_version" : "",    "purchase_id" : "",    "state_details" : {      "register_stat" : "",      "purchase_stat" : "",      "purchase_error" : ""    },    "cert_remaining_valid_time" : 0  } ],  "deployments" : [ ],  "attributes" : [ ],  "failed_node_add" : null,  "failed_node_del" : null,  "success_node_add" : null,  "success_node_del" : null}
support.huaweicloud.com/api-ief/ShowEdgeGroupDetail.html