You need to enable JavaScript to run this app.
导航
DescribeRegions
最近更新时间:2024.11.05 16:00:05首次发布时间:2023.02.02 17:41:21

调用 DescribeRegions 接口查看地域列表。

请求类型

同步请求。

调试

请求参数

无。

返回参数

参数
类型
示例值
描述
Regions
Object[]
{ "RegionId": "cn-beijing", "RegionName": "cn-beijing" }
地域列表。

示例

请求示例

POST /?Action=DescribeRegions&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": "202301092212492E5BD94BE9957BB3F409",
        "Action": "DescribeRegions",
        "Version": "2022-01-01",
        "Service": "rds_mysql",
        "Region": "cn-beijing"
    },
    "Result": {
        "Regions": [
            {
                "RegionId": "cn-beijing",
                "RegionName": "cn-beijing"
            },
            {
                "RegionId": "cn-guangzhou",
                "RegionName": "cn-guangzhou"
            },
            {
                "RegionId": "cn-shanghai",
                "RegionName": "cn-shanghai"
            }
        ]
    }
}

错误码

更多详情,请参见错误码