You need to enable JavaScript to run this app.
导航
DescribeRegions
最近更新时间:2023.10.13 17:46:51首次发布时间:2022.09.19 20:54:29

调用 DescribeRegions 接口列举地域信息。

请求参数

无。

返回参数

参数类型示例值描述
TotalCountInteger1地域数量。
RegionsArray of RegionInfo详情请参见返回示例地域详情。

RegionInfo

参数类型示例值描述
RegionIdStringcn-beijing地域 ID
RegionNameString华北2(北京)地域名称。

示例

请求示例

POST /?Action=DescribeRegions&Version=2022-01-01 HTTP/1.1
Host: open.volcengineapi.com
Authorization: HMAC-SHA256 Credential=AKLTOGJhY2E1NTdkZGFmNDg0Yjk0ZDFiNjE5Y2NjZjI****/20230907/cn-beijing/vepfs/request, SignedHeaders=host;x-date;x-content-sha256;content-type, Signature=7f1119a75111535b1d6e7929700f22e1474af0fb4fe26c59f5ac5cdba0cc****
Content-Type: application/json; charset=utf-8
X-Content-Sha256: 567112abe45bd6a09504fd244237f14c0ba120491da0d35097afd54d87bd****
X-Date: 20230907T124910Z

返回示例

{
     "ResponseMetadata": {
          "RequestId": "202209152005230102251460630112****",
          "Action": "DescribeRegions",
          "Version": "2022-01-01",
          "Service": "vepfs",
          "Region": "cn-beijing"
     },
     "Result": {
          "Regions": [
               {
                    "RegionId": "cn-beijing",
                    "RegionName": ""
               }
          ],
          "TotalCount": 1
     }
}