区块链服务 BCS-查询配额:响应示例

时间:2024-07-03 14:20:50

响应示例

状态码: 200

Ok

{
  "resources" : [ {
    "type" : "instance",
    "unit" : "",
    "min" : 0,
    "max" : 100,
    "quota" : 5,
    "used" : 0,
    "free" : 0
  } ]
}

状态码: 400

Bad Request

{
  "error_code" : " BCS .4006014",
  "error_msg" : "Invalid Parameter quotasType : ecs"
}

状态码: 401

Unauthorized

{
  "error_code" : "B CS .4010401",
  "error_msg" : "Incorrect token or token resolution failed"
}

状态码: 403

Forbidden

{
  "error_code" : "BCS.4030403",
  "error_msg" : "No permissions to request this method"
}

状态码: 404

Not Found

{
  "error_code" : "BCS.4040404",
  "error_msg" : "Not Found:the url is not found"
}

状态码: 500

InternalServerError

{
  "error_code" : "BCS.5000500",
  "error_msg" : "Internal Server Error"
}
support.huaweicloud.com/api-bcs/ListQuotas_3.html