调用 DescribeAvailabilityZones 接口查询可用区列表。
同步请求。
无。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
RegionId | String | cn-beijing | 地域 ID。 |
Zones | Object[] | 请参见返回示例。 | 可用区列表。 |
POST /?Action=DescribeAvailabilityZones&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host: open.volcengineapi.com X-Date: 20231002T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458**** { "RegionID": "cn-beijing" }
{ "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" } ] } }