调用 DescribeAvailabilityZones 接口查看可用区列表。
同步请求。
无。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
RegionId | String | cn-beijing | 地域 ID |
Zones | Object[] | {
"Description": "华北2(北京)-可用区A",
"ZoneId": "cn-beijing-a",
"ZoneName": "cn-beijing-a"
} | 地域下的可用区列表。 |
POST /?Action=DescribeAvailabilityZones&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host: rds.volcengineapi.com X-Date: 20211202T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_mysql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****
{ "ResponseMetadata": { "RequestId": "202301092220460BDD841A0E0BF2B51B42", "Action": "DescribeAvailabilityZones", "Version": "2022-01-01", "Service": "rds_mysql", "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" } ] } }
更多详情,请参见错误码。