Queries zones in a specified region.
Try it now
Test
RAM authorization
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | Yes | The ID of the region where the zone is located. Call the DescribeRegions operation to obtain the region ID. | cn-hangzhou |
ServiceResourceType | string | No | The zones that support PrivateLink vary based on the type of the backend service resource. Specify the type of the service resource when you query the zones that support PrivateLink. Valid values:
Valid values:
| slb |
RegionId | string | Yes | The ID of the region where the zone is located. Call the DescribeRegions operation to obtain the region ID. | cn-hangzhou |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The request ID. | 611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F |
| Zones | object | ||
| Zone | array<object> | A collection of zones. | |
object | A collection of zones. | ||
LocalName | string | The name of the zone. | China (Hangzhou) Zone B |
ZoneId | string | The ID of the zone. | cn-hangzhou-b |
Examples
Success response
JSON format
{
"RequestId": "611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F",
"Zones": {
"Zone": [
{
"LocalName": "华东1 可用区B",
"ZoneId": "cn-hangzhou-b"
}
]
}
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.