DescribeRegions

查询可用的区域。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

GET /regions HTTP/1.1

请求参数

名称类型必填描述示例值
languagestring

返回参数 localName 对应的语言。

枚举值:
  • jaja
  • enen
  • zhzh
zh

返回参数

名称类型描述示例值
headersobject
Datestring

返回响应的时间。

Serverstring

服务器名称。

x-log-requestidstring

服务端产生的标识,该请求的唯一 ID。

Content-Lengthstring

响应内容长度。

Connectionstring

是否长链接。取值包括: close:不是长链接,则每个 HTTP 请求都会重新建立 TCP 连接。 keep-alive:长链接,TCP 连接建立后保持连接状态,节省连接所需时间和带宽。

object

Schema of Response

regionsarray<object>
object
regionstring

SLS region

localNamestring

SLS region 名称。

intranetEndpointstring

SLS 内网地址

internetEndpointstring

SLS 公网地址

示例

正常返回示例

JSON格式

{
  "regions": [
    {
      "region": "",
      "localName": "",
      "intranetEndpoint": "",
      "internetEndpoint": "",
      "dataRedundancyType": [
        ""
      ]
    }
  ]
}

错误码

HTTP status code错误码错误信息
400IdempotentParameterMismatchThe request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.

访问错误中心查看更多错误码。