数据库安全服务 DBSS-查询可用区信息:响应示例

时间:2024-11-04 16:36:10

响应示例

状态码: 200

成功

{
  "azs" : [ {
    "zone_name" : "xx-xx",
    "zone_number" : 2,
    "az_type" : "normal",
    "alias" : "可用区2",
    "alias_us" : "AZ2"
  }, {
    "zone_name" : "xx-xx",
    "zone_number" : 1,
    "az_type" : "normal",
    "alias" : "可用区1",
    "alias_us" : "AZ1"
  }, {
    "zone_name" : "xx-xx",
    "zone_number" : 3,
    "az_type" : "normal",
    "alias" : "可用区3",
    "alias_us" : "AZ3"
  } ]
}

状态码: 400

客户端错误

{
  "error" : {
    "error_code" : "DBSS.XXXX",
    "error_msg" : "XXX"
  }
}
support.huaweicloud.com/api-dbss/ListAvailabilityZoneInfos.html