自动驾驶云服务 OCTOPUS-查询可用资源规格:响应示例

时间:2024-05-23 09:13:15

响应示例

状态码: 200

OK

{
  "meta_info" : {
    "current_time" : "2023-12-13T09:55:45Z"
  },
  "payload" : {
    "list" : [ {
      "id" : "ef4fd3d6-fa4e-49ea-989a-3216c36164d7",
      "cluster_id" : "3c151f54-e5df-4b6c-8690-b955df98a97f",
      "match_nodes" : 1,
      "usage" : "TRAINING_TRAIN",
      "cpu" : 5,
      "memory" : 20,
      "build_in" : false,
      "project_id" : "54d37c8f25af4277a1ff4ee9772687bf"
    }, {
      "id" : "38aa2057-4217-41d0-b5ba-94f8832e909e",
      "cluster_id" : "3c151f54-e5df-4b6c-8690-b955df98a97f",
      "match_nodes" : 1,
      "usage" : "TRAINING_TRAIN",
      "gpu_type" : "Pnt1",
      "gpu" : 1,
      "cpu" : 5,
      "memory" : 20,
      "build_in" : false,
      "project_id" : "54d37c8f25af4277a1ff4ee9772687bf"
    }, {
      "id" : "2ac937fa-d17a-4991-8e56-f1951b878af8",
      "cluster_id" : "3c151f54-e5df-4b6c-8690-b955df98a97f",
      "match_nodes" : 1,
      "usage" : "TRAINING_TRAIN",
      "gpu_type" : "Pnt1",
      "gpu" : 1,
      "cpu" : 4,
      "memory" : 20,
      "build_in" : false,
      "project_id" : "54d37c8f25af4277a1ff4ee9772687bf"
    }, {
      "id" : "7676f33e-cf22-4227-aac1-ac3865ceddb2",
      "cluster_id" : "3c151f54-e5df-4b6c-8690-b955df98a97f",
      "match_nodes" : 1,
      "usage" : "TRAINING_TRAIN",
      "gpu_type" : "Pnt1",
      "gpu" : 1,
      "cpu" : 4,
      "memory" : 32,
      "build_in" : false,
      "project_id" : "54d37c8f25af4277a1ff4ee9772687bf"
    } ],
    "page_info" : {
      "offset" : 0,
      "limit" : 4,
      "total" : 4
    }
  }
}
support.huaweicloud.com/api-octopus/querySpecs.html