最近更新时间:2024.04.18 19:19:06
首次发布时间:2022.11.03 08:29:36
调用 ListNatGatewayAvailableZones 接口,查询当前地域已部署NAT网关资源的可用区。
参数名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListNatGatewayAvailableZones | 要执行的操作,取值:ListNatGatewayAvailableZones |
Version | String | 是 | 2020-04-01 | API的版本信息,当前版本为:2020-04-01。 |
参数名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 2021062415303301022514515207C4**** | 请求ID。 |
Zones | Array of struct | - | NAT网关的详细信息。具体请参见下表“Zones”。 |
Zones
参数名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
ZoneId | String | cn-beijing-a | 当前地域已部署NAT网关集群的可用区的ID。 |
GET /?Action=ListNatGatewayAvailableZones&Version=2020-04-01 HTTP/1.1 Host: open.volcengineapi.com ServiceName: natgateway Region: cn-beijing
{ "ResponseMetadata": { "RequestId": "2021062415303301022514515207C4****", "Action": "ListNatGatewayAvailableZones", "Version": "2020-04-01", "Service": "natgateway", "Region": "cn-beijing" }, "Result":{ "RequestId": "2021062415303301022514515207C4****", "Zones": [ { "ZoneId": "cn-beijing-a" } { "ZoneId": "cn-beijing-b" } ] } }