IOT边缘 IOTEDGE-创建边缘节点:请求示例

时间:2025-04-09 17:15:42

请求示例

{
  "edge_node_id" : "string",
  "name" : "test-node",
  "type" : "string",
  "verify_code" : "string",
  "time_out" : 1800,
  "arch" : "string",
  "instance_id" : "string",
  "space_id" : "jeQDJQZltU8iKgFFoW060F5SGZka",
  "resource_ids" : [ "jeQDJQZltU8iKgFFoW060F5SGZka" ],
  "security_level" : "HIGH",
  "reliability_level" : "LOW",
  "storage_period" : 0,
  "ai_card_type" : "UNEQUIPPED",
  "npu_library_path" : "/usr/local/Ascend/driver/lib64/",
  "base_path" : {
    "log_base_path" : "string",
    "config_base_path" : "string",
    "db_base_path" : "string"
  },
  "log_configs" : [ {
    "size" : 1000,
    "level" : "string",
    "rotate_num" : 10,
    "rotate_period" : "string",
    "type" : "LTS",
    "component" : "string"
  } ],
  "apps" : [ {
    "edge_app_id" : "string",
    "app_version" : "string"
  } ],
  "hardware_model" : "string",
  "offline_cache_configs" : {
    "publish_order" : "realtime_first",
    "period" : 7,
    "capacity" : 2048
  },
  "device_auth_info" : {
    "auth_type" : "CERTIFICATES",
    "fingerprint" : "8D903AC66E0ECA7843B6EEFB50F770537C051EC3C976FD3ED3AFBECC1CC92A29",
    "local_path" : {
      "cert_path" : "/opt/device-cert/cert.pem",
      "key_path" : "/opt/device-cert/key.pem"
    }
  },
  "automatic_upgrade" : "OFF"
}
support.huaweicloud.com/api-iotedge/CreateEdgeNode.html
提示

您即将访问非华为云网站,请注意账号财产安全