IOT边缘 IOTEDGE-创建数据源配置:响应示例

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

响应示例

状态码: 201

Created

{
  "ds_id" : "opcua_1",
  "config" : {
    "connection_info" : {
      "endpoint" : "opc.tcp://127.0.0.1:53530/OPCUA",
      "username" : "admin",
      "password" : "*****"
    },
    "collection_paras" : {
      "default_cycle" : 1000
    }
  },
  "name" : "电力子系统",
  "edge_node_id" : "446007715895193600",
  "module_id" : "user_opc_ua_yz",
  "tpl_id" : "sys_general_opcua",
  "quality_report" : false,
  "edge_app_name" : "西门子OPCUA驱动",
  "connection_info" : { },
  "module_state" : "stopped",
  "count" : 1000000,
  "create_time" : "2020-05-28T11:31:29.740Z",
  "update_time" : "2020-05-28T11:31:29.740Z",
  "synchronized" : true,
  "synchronized_time" : "2020-05-28T11:31:29.740Z"
}
support.huaweicloud.com/api-iotedge/CreateDs.html