推荐系统 RES-按类型查询计算资源:示例

时间:2023-11-01 16:16:29

示例

  • 成功响应示例
    {  "is_success": true,  "computing_resource": {    "id": "5f0fc90870ef4a678649774f28f9d68e",    "user_id": "03cfcb78b4b34ba79c9d5aa43dcfb49a",    "project_id": "b09d59c4e8724078a5e8efa65049e78f",    "type": "B",    "driver_memory": "1024M",    "driver_cores": 2,    "executor_memory": "2G",    "executor_cores": 2,    "num_executors": 3  }}
  • 失败响应示例
    {     "is_success": false,     "error_code": "res.1006",     "error_msg": "The content for the request is invalid." }
support.huaweicloud.com/api-res/res_02_0018.html