Queries the zones that support NAT gateways.
Operation description
Queries zones that support NAT gateways, including Internet NAT gateways and Virtual Private Cloud (VPC) NAT gateways.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region that you want to query. Call the DescribeRegions operation to query the most recent region list. In this example, zones that support NAT gateways in the UAE (Dubai) region are queried. |
me-east-1 |
| AcceptLanguage |
string |
No |
The language in which results are returned. Valid values:
|
zh-CN |
| RegionId |
string |
Yes |
The ID of the region that you want to query. Call the DescribeRegions operation to query the most recent region list. In this example, zones that support NAT gateways in the UAE (Dubai) region are queried. |
me-east-1 |
| Filter |
array<object> |
No |
The filter conditions. |
|
|
object |
No |
|||
| Key |
string |
No |
The filter key. Only PrivateLinkEnabled is supported. |
PrivateLinkEnabled |
| Value |
string |
No |
The value of the filter key. Note
If the filter key is set to PrivateLinkEnabled, you must specify a filter value. Valid values: true and false. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
8AE6F367-52EA-535D-9A3D-EF23D70527C8 |
| Zones |
array<object> |
The list of zones. |
|
|
object |
|||
| ZoneId |
string |
The ID of the zone where the instance is deployed. |
me-east-1a |
| LocalName |
string |
The name of the zone. |
中东1 可用区A |
Examples
Success response
JSON format
{
"RequestId": "8AE6F367-52EA-535D-9A3D-EF23D70527C8",
"Zones": [
{
"ZoneId": "me-east-1a",
"LocalName": "中东1 可用区A"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.