查询VPC zone。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Lang |
string |
否 |
请求和接收消息的语言类型。取值:
|
zh |
| MemberUid |
string |
否 |
云防火墙成员账号的 UID。 |
1415189284827022 |
| RegionNo |
string |
是 |
地域 ID。 |
cn-shanghai |
| Environment |
string |
否 |
环境。取值:
|
VPC |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
返回结果的请求 ID。 |
694DFBF3-C060-529F-92D0-7FC7E0DA1E21 |
| ZoneList |
array<object> |
可用区列表。 |
|
|
object |
可用区列表。 |
||
| ZoneId |
string |
可用区 ID。 |
cn-hangzhou-b |
| LocalName |
string |
可用区名称。 |
华东 1 可用区 B |
| ZoneType |
string |
查询到的可用区的类型,默认取值为 AvailabilityZone 即普通云上可用区。 |
AvailabilityZone |
示例
正常返回示例
JSON格式
{
"RequestId": "694DFBF3-C060-529F-92D0-7FC7E0DA1E21",
"ZoneList": [
{
"ZoneId": "cn-hangzhou-b",
"LocalName": "华东 1 可用区 B",
"ZoneType": "AvailabilityZone"
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | aliuid无效 |
| 400 | ErrorInvalidMemberUid | Member uid is invalid | 成员账号错误. |
| 400 | ErrorUserCredentials | user credentials failed | 未授权, 不可访问, 请先授权防火墙权限 |
| 400 | ErrorVpcOpenApi | vpc open api failed | 调用 VPC API 失败 |
| 400 | ErrorParameters | A parameter error occurred. | 参数错误 |
| 400 | ErrorCenTRAssociationNotFound | CEN-TR attachment association not found. | 找不到CEN-TR附件关联。 |
| 400 | ErrorRegionNoError | Region is error, please reselect | 地域选择错误, 请重新输入 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。