医疗智能体 EIHEALTH-获取子任务实例信息:响应示例

时间:2024-05-11 08:28:26

响应示例

状态码: 200

OK

{
  "count" : 0,
  "instances" : [ {
    "status" : {
      "phase" : "Failed",
      "pod_ip" : "192.168.0.1",
      "host_ip" : "192.168.0.1",
      "host_name" : "health-f789d9c5-e8e6-44e7-84fb-8e234bba1cee",
      "start_time" : "2021-01-30T02:34:36Z",
      "container_statuses" : [ {
        "restart_count" : 0
      } ]
    },
    "metadata" : {
      "name" : "string",
      "namespace" : "default"
    },
    "spec" : {
      "containers" : [ {
        "resources" : {
          "limits" : {
            "cpu" : "string",
            "memory" : "string"
          },
          "requests" : {
            "cpu" : "string",
            "memory" : "string"
          }
        }
      } ]
    }
  } ]
}
support.huaweicloud.com/api-eihealth/ShowTaskInstances.html