医疗智能体 EIHEALTH-查询计算资源:响应示例

时间:2024-05-10 16:07:33

响应示例

状态码: 200

OK

{
  "count" : 1,
  "resources" : [ {
    "id" : "baabcb56-5bb6-11eb-8a0d-fa163e3ddba1",
    "spec" : {
      "code" : "eihealth.xxx.spec.xxx.xxx",
      "name" : "xxx",
      "ram" : 8192,
      "vcpus" : "a",
      "max_rate" : 8000,
      "min_rate" : 2400,
      "max_pps" : 800000
    },
    "system_disk" : {
      "type" : "SAS",
      "space" : 40
    },
    "data_disks" : [ {
      "type" : "SAS",
      "space" : 100
    } ],
    "image" : {
      "type" : "CentOS",
      "version" : 1.0
    },
    "charge_mode" : 2,
    "create_time" : "2021-02-01T14:25:50Z",
    "status" : "ACTIVE",
    "availability_zone_id" : "cn-north-7c",
    "schedulable" : true,
    "node_labels" : [ "label" ]
  } ]
}
support.huaweicloud.com/api-eihealth/ListComputingResources.html