数据复制服务 DRS-获取任务价格信息:响应示例

时间:2024-10-18 19:41:53

响应示例

状态码: 200

OK
{
  "product_info_list": [
    {
      "id": "78f3a9f1-3d8d-43f0-acc4-ee93f8a9d934",
      "cloud_service_type": "hws.service.type.drs",
      "resource_type": "hws.resource.type.drs.vm",
      "resource_spec_code": "drs.lg.dr",
      "resource_size": 1,
      "usage_factor": "Duration",
      "usage_value": 1,
      "usage_measure_id": 4
    },
    {
      "id": "f52a74ce-5b11-4c5b-b365-488d9fc38882",
      "cloud_service_type": "hws.service.type.drs",
      "resource_type": "hws.resource.type.drs.flow",
      "resource_spec_code": "drs.flow.free",
      "resource_size": 1,
      "usage_factor": "flow",
      "usage_value": 1,
      "usage_measure_id": 17
    }
  ]
}

状态码: 400

Bad Request

{
  "error_code": "DRS.M00202",
  "error_msg": "The value of parameter jobId is invalid."
}
support.huaweicloud.com/api-drs/drs_03_0188.html