IOT边缘 IOTEDGE-创建边缘模块:请求示例

时间:2024-06-20 17:14:28

请求示例

POST https://{endpoint}/v2/{project_id}/edge-nodes/{edge_node_id}/modules

{
  "edge_app_id" : "test-app",
  "app_version" : "1.0.0",
  "module_name" : "edge_module",
  "container_settings" : {
    "configs" : {
      "container_port_list" : [ {
        "container_port" : 65535,
        "host_port" : 65535,
        "host_ip" : "string"
      } ]
    }
  }
}
support.huaweicloud.com/api-iotedge/CreateModule.html