You need to enable JavaScript to run this app.
导航
DescribeRegions
最近更新时间:2023.03.30 19:59:24首次发布时间:2023.03.30 19:59:24

调用 DescribeRegions 接口查看 Region 列表。

请求参数

无。

响应参数

名称

类型

示例值

描述

Regions

Array of RegionObject

/

地域列表。更多关于 Regions 信息,请参见数据结构

示例

请求示例

POST /?Action=DescribeRegions&Version=2022-05-01 HTTP/1.1
Content-Type: application/json
Host: kafka.volcengineapi.com
X-Date: 20210328T100802Z
Authorization: HMAC-SHA256 Credential=AK********/20210328/cn-beijing/kafka/request, SignedHeaders=x-date, Signature=********

响应示例

{
    "ResponseMetadata": {
        "RequestId": "2023032021075995F8AAD5096623174D7C",
        "Action": "DescribeRegions",
        "Version": "2022-05-01",
        "Service": "Kafka",
        "Region": "cn-nantong"
    },
    "Result": {
        "Regions": [
            {
                "Description": "华东2(上海)",
                "RegionId": "cn-shanghai",
                "RegionName": "cn-shanghai",
                "Status": "Available"
            },
            {
                "Description": "华北2(北京)",
                "RegionId": "cn-beijing",
                "RegionName": "cn-beijing",
                "Status": "Available"
            },
            {
                "Description": "华南1(广州)",
                "RegionId": "cn-guangzhou",
                "RegionName": "cn-guangzhou",
                "Status": "Available"
            }
        ]
    }
}