更新时间:2025-09-24 GMT+08:00
        
          
          
        
      
      
      
      
      
      
      
      
  
      
      
      
        
查询区域列表
调试
您可以在API Explorer中调试该接口。
URI
GET /v3/regions
请求参数
| 
        参数  | 
      
        是否必选  | 
      
        参数类型  | 
      
        描述  | 
     
|---|---|---|---|
| 
        Content-Type  | 
      
        是  | 
      
        String  | 
      
        该字段内容填为“application/json;charset=utf8”。  | 
     
| 
        X-Auth-Token  | 
      
        是  | 
      
        String  | 
      
        IAM用户的token(无需特殊权限)。如果token中没有私有region信息,则查询结果不返回私有region。  | 
     
响应参数
| 
        参数  | 
      
        参数类型  | 
      
        描述  | 
     
|---|---|---|
| 
        self  | 
      
        String  | 
      
        资源链接地址。  | 
     
| 
        previous  | 
      
        String  | 
      
        前一邻接资源链接地址,不存在时为null。  | 
     
| 
        next  | 
      
        String  | 
      
        后一邻接资源链接地址,不存在时为null。  | 
     
请求示例
查询区域列表。
GET https://iam.myhuaweicloud.com/v3/regions
 响应示例
状态码为 200 时:
请求成功。
{
    "regions": [
        {
            "parent_region_id": null,
            "description": "",
            "links": {
                "self": "https://iam.myhuaweicloud.com/v3/regions/ap-southeast-1"
            },
            "type": "public",
            "id": "ap-southeast-1",
            "locales": {
                "zh-cn": "中国-香港",
                "en-us": "ap-southeast-1"
            }
        },
        {
            "parent_region_id": null,
            "description": "",
            "links": {
                "self": "https://iam.myhuaweicloud.com/v3/regions/la-south-2"
            },
            "type": "public",
            "id": "la-south-2",
            "locales": {
                "pt-br": "AL-Santiago",
                "zh-cn": "拉美-圣地亚哥",
                "en-us": "LA-Santiago",
                "es-us": "AL-Santiago de Chile1",
                "es-es": "LA-Santiago"
            }
        }
    ],
    "links": {
        "self": "https://iam.myhuaweicloud.com/v3/regions",
        "previous": null,
        "next": null
    }
}
 返回值
| 
        返回值  | 
      
        描述  | 
     
|---|---|
| 
        200  | 
      
        请求成功。  | 
     
| 
        400  | 
      
        参数无效。  | 
     
| 
        401  | 
      
        认证失败。  | 
     
| 
        403  | 
      
        没有操作权限。  | 
     
| 
        404  | 
      
        未找到相应的资源。  | 
     
| 
        405  | 
      
        不允许的方法。  | 
     
| 
        413  | 
      
        请求体过大。  | 
     
| 
        500  | 
      
        内部服务错误。  | 
     
| 
        503  | 
      
        服务不可用。  | 
     
错误码
无
   父主题: 区域管理