查询区域详情
调试
您可以在API Explorer中调试该接口。
URI
GET /v3/regions/{region_id}
请求参数
| 
        参数  | 
      
        是否必选  | 
      
        参数类型  | 
      
        描述  | 
     
|---|---|---|---|
| 
        Content-Type  | 
      
        是  | 
      
        String  | 
      
        该字段内容填为“application/json;charset=utf8”。  | 
     
| 
        X-Auth-Token  | 
      
        是  | 
      
        String  | 
      
        IAM用户token(无需特殊权限)。  | 
     
响应参数
| 
        参数  | 
      
        参数类型  | 
      
        描述  | 
     
|---|---|---|
| 
        Object  | 
      
        区域信息。  | 
     
请求示例
查询区域详情。
GET https://iam.myhuaweicloud.com/v3/regions/{region_id}
 响应示例
状态码为 200 时:
请求成功。
{
    "region": {
        "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"
        }
    }
}
 返回值
| 
        返回值  | 
      
        描述  | 
     
|---|---|
| 
        200  | 
      
        请求成功。  | 
     
| 
        400  | 
      
        参数无效。  | 
     
| 
        401  | 
      
        认证失败。  | 
     
| 
        403  | 
      
        没有操作权限。  | 
     
| 
        404  | 
      
        未找到相应的资源。  | 
     
| 
        405  | 
      
        不允许的方法。  | 
     
| 
        413  | 
      
        请求体过大。  | 
     
| 
        500  | 
      
        内部服务错误。  | 
     
| 
        503  | 
      
        服务不可用。  | 
     
错误码
无