You need to enable JavaScript to run this app.
文档中心
负载均衡

负载均衡

复制全文
下载 pdf
CLB实例
DescribeZones - 查询地域信息
复制全文
下载 pdf
DescribeZones - 查询地域信息
调用 DescribeZones 接口,查询当前地域的主备可用区映射关系。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
Action String 必选 示例值:DescribeZones​
要执行的操作,取值:DescribeZones。​
​
Version String 必选 示例值:2020-04-01​
API的版本信息,当前版本为 2020-04-01。​
​
​
​
返回参数​
MasterZones Object[] 示例值:-​
主可用区列表。​
ZoneId String 示例值:cn-shanghai-a​
主可用区ID。​
当前地域为单可用区部署时,该参数返回CLB实例部署的可用区ID。​
​
SlaveZones String[] 示例值:["cn-shanghai-b"]​
该主可用区对应的备可用区列表。​
​
​
​
​
请求示例​
​
GET /?Action=DescribeZones&Version=2020-04-01​
Host: clb.cn-beijing.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/clb/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "DescribeZones",​
"Version": "2020-04-01",​
"Service": "clb",​
"Region": "cn-beijing"​
},​
"Result": {​
"MasterZones": [​
{​
"ZoneId": "cn-shanghai-a",​
"SlaveZones": [​
"cn-shanghai-b"​
]​
}​
]​
}​
}​
​
错误码​
此处仅展示当前API的错误码,更多错误码请参见公共错误码。​
​
状态码​
错误码​
错误信息​
说明​
403​
Forbidden​
You are not authorized to perform operations on the specified service.​
无权限对指定服务进行操作。​
404​
InvalidZone.NotFound​
The specified Zone mapping does not exist.​
指定主备可用区关系不存在。​
500​
InternalError​
An internal error has occurred.​
发生内部错误。​
​
​
最近更新时间:2026.02.13 10:33:01
这个页面对您有帮助吗?
有用
有用
无用
无用