路网数字化服务 DRIS-查询应用版本:响应示例

时间:2024-01-02 08:31:52

响应示例

状态码: 200

OK

{
  "edge_app_id" : "14414341626215826433476361010249",
  "version" : "1.0.2",
  "description" : "hello",
  "created_time" : "2020-05-28T11:31:29.740Z",
  "last_modified_time" : "2020-05-28T11:31:29.740Z",
  "state" : "DRAFT",
  "command" : [ "tets" ],
  "args" : [ "tets" ],
  "container_settings" : {
    "configs" : {
      "privileged" : false,
      "host_network" : true,
      "restart_policy" : "Always",
      "container_port_list" : [ {
        "container_port" : 2656,
        "host_port" : 2656,
        "host_ip" : "1.1.1.1"
      } ]
    },
    "image_url" : "xxx.com/huawei/edge:1.0.0",
    "envs" : {
      "test" : "test"
    },
    "volumes" : [ {
      "name" : "config",
      "type" : " LOG ",
      "source" : "/iot/opt/test",
      "destination" : "/iot/opt/test",
      "read_only" : false
    } ],
    "resources" : {
      "limits" : {
        "cpu" : 2,
        "memory" : 2,
        "gpu" : 2,
        "npu" : 2
      },
      "requests" : {
        "cpu" : 4,
        "memory" : 4,
        "gpu" : 4,
        "npu" : 4
      }
    },
    "ext_devices" : null
  },
  "publish_time" : "2020-05-28T11:31:29.740Z",
  "off_shelf_time" : "2020-05-28T11:31:29.740Z"
}
support.huaweicloud.com/api-v2x/v2x_04_0104.html