调用 DescribeRegions 接口查询云数据库 veDB MySQL 实例可用的地域资源。
同步请求。
null
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Regions | Array of RegionObject | 请参见返回示例。 | 地域列表。详细信息,请参见 RegionObject。 |
POST /?Action=DescribeRegions&Version=2022-01-01 HTTP/1.1 Content-Type: application/json Host:vedbm.volcengineapi.com X-Date: 20220101T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20220101/cn-beijing/vedbm/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c645****
正常返回示例
{ "ResponseMetadata": { "RequestId": "2024091411210599E18DED39D9D823***-8c8373", "Action": "DescribeRegions", "Version": "2022-01-01", "Service": "vedbm", "Region": "cn-beijing" }, "Result": { "Regions": [ { "Description": "华东2(上海)", "RegionId": "cn-shanghai", "RegionName": "cn-shanghai", "Status": "Available" }, { "Description": "华北2(北京)", "RegionId": "cn-beijing", "RegionName": "cn-beijing", "Status": "Available" } ] } }
更多详情,请参见错误码。