DescribeRegions - 查询地域

更新时间:2025-02-14 09:30:59

查询您可以使用的阿里云地域。

调试

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

授权信息

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

请求参数

名称类型必填描述示例值
名称类型必填描述示例值
当前API无需请求参数

返回参数

名称类型描述示例值
名称类型描述示例值
object
RequestIdstring

请求 ID。

F5FEB9AA-C108-577C-AB3D-D13524AF****
Regionsarray<object>

地域信息集合。

Regionobject
RegionEndpointstring

地域对应的接入地址(Endpoint)。

eais.cn-shenzhen.aliyuncs.com
LocalNamestring

地域名称。

华南1(深圳)
RegionIdstring

地域 ID。

cn-shenzhen

示例

正常返回示例

JSON格式

{
  "RequestId": "F5FEB9AA-C108-577C-AB3D-D13524AF****",
  "Regions": {
    "Region": [
      {
        "RegionEndpoint": "eais.cn-shenzhen.aliyuncs.com",
        "LocalName": "华南1(深圳)",
        "RegionId": "cn-shenzhen"
      }
    ]
  }
}

错误码

HTTP status code错误码错误信息描述
HTTP status code错误码错误信息描述
400CheckTimeoutCheck timed out.检查超时。
400InconsistentSignatureThe signatures are inconsistent.签名不一致。
400TimeoutOperation timed out.操作超时。
401CallRamApiFailedFailed to call the Alibaba Cloud RAM service.调用阿里云RAM失败。
403NoPermissionYou are not authorized to perform this operation. %s您没有权限执行此操作。
403NoPermissionYou do not have permission to create the service linked role AliyunServiceRoleForEais.您没有权限创建服务关联角色AliyunServiceRoleForEais。

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

变更历史

变更时间变更内容概要操作
变更时间变更内容概要操作
2024-03-21OpenAPI 错误码发生变更查看变更详情
2023-08-23OpenAPI 描述信息更新、OpenAPI 错误码发生变更查看变更详情
  • 本页导读 (1)
  • 调试
  • 授权信息
  • 请求参数
  • 返回参数
  • 示例
  • 错误码
  • 变更历史