You need to enable JavaScript to run this app.
导航
DescribeRegions
最近更新时间:2024.09.14 11:36:59首次发布时间:2022.04.12 19:05:26

调用 DescribeRegions 接口查询云数据库 veDB MySQL 实例可用的地域资源。

请求类型

同步请求。

请求参数

null

返回参数

名称类型示例值描述
RegionsArray 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"
            }
        ]
    }
}

错误码

更多详情,请参见错误码