IOT边缘 IOTEDGE-修改边缘模块:请求示例

时间:2024-01-17 14:02:20

请求示例

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

{
  "app_version" : "1.1.0",
  "module_name" : "edge_module",
  "container_settings" : {
    "configs" : {
      "container_port_list" : [ {
        "container_port" : 65535,
        "host_port" : 65535,
        "host_ip" : "string"
      } ]
    }
  },
  "desired_state" : "RUNNING"
}
support.huaweicloud.com/api-iotedge/UpdateModule.html