You need to enable JavaScript to run this app.
RDS for PostgreSQL

RDS for PostgreSQL

Copy page
Download PDF
Global
DescribeAvailabilityZones
Copy page
Download PDF
DescribeAvailabilityZones
Call the DescribeAvailabilityZones API to query the list of availability zones (AZs).​
Request type​
Synchronous request.​
Precautions​
  • The DescribeAvailabilityZones API routes requests based on the Region parameter in the Header. It only queries availability zone information for the region specified in the header and will not return information for other regions.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
None.​
Response parameters​
​
Parameter​
Type​
Example​
Description​
RegionId​
String​
cn-beijing​
Region ID.​
Zones​
Array of ZoneObject​
Refer to the Sample response.​
Availability zone list.​
​
ZoneObject​
​
Parameter​
Type​
Example​
Description​
ZoneId​
String​
cn-beijing-a​
Availability zone ID.​
ZoneName​
String​
cn-beijing-a​
Availability zone name.​
Description​
String​
China (Beijing) - Availability zone A​
Name of the availability zone of the region.​
​
Example​
Sample request​
​
POST /?Action=DescribeAvailabilityZones&Version=2022-01-01 HTTP/1.1​
Content-Type: application/json​
Host: rds-postgresql.cn-beijing.volcengineapi.com​
X-Date: 20231002T101010Z​
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****​
{​
"RegionID": "cn-beijing"​
}​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "20230801145904E960E37BE9C8BF1DD50F",​
"Action": "DescribeAvailabilityZones",​
"Version": "2022-01-01",​
"Service": "rds_postgresql",​
"Region": "cn-beijing"​
},​
"Result": {​
"RegionId": "cn-beijing",​
"Zones": [​
{​
"Description": "华北2(北京)-可用区A",​
"ZoneId": "cn-beijing-a",​
"ZoneName": "cn-beijing-a"​
},​
{​
"Description": "华北2(北京)-可用区B",​
"ZoneId": "cn-beijing-b",​
"ZoneName": "cn-beijing-b"​
}​
]​
}​
}​
​
Last updated: 2026.03.31 10:45:18