
# 查询Landing Zone设置状态 - ShowLandingZoneStatus
#### 功能介绍
查询Landing Zone的设置状态。
#### 授权信息
账号根用户具备所有API的调用权限，如果使用账号下的IAM用户调用当前API，该IAM用户需具备如下身份策略权限，更多的权限说明请参见[权限和授权项](https://support.huaweicloud.com/api-rgc/rgc_02_0016.html)。
| 授权项                       | 访问级别 | 资源类型（\*为必须） | 条件键 | 别名 | 依赖的授权项 |
|:---|:---|:---|:---|:---|:---|
| rgc:landingZoneStatus:get | Read | -           | -   | -  | -      |
   
#### URI
GET /v1/landing-zone/status
#### 请求参数
无
#### 响应参数
**状态码：200**
表1响应Body参数 
| 参数                       | 参数类型                                                                                                 | 描述                                                             |
|:---|:---|:---|
| deployed_version         | String                                                                                               | 部署的Landing Zone版本。                                             |
| landing_zone_status      | String                                                                                               | Landing Zone的设置状态。in_progress:进行中；succeeded:已完成。               |
| percentage_complete      | Integer                                                                                              | Landing Zone的完成进度。                                             |
| percentage_details       | Array of [PercentageDetail] objects               | Landing Zone设置的详细进度信息。                                         |
| landing_zone_action_type | String                                                                                               | Landing Zone当前需要执行的动作。CREATE:创建；UPDATE:更新；DELETE:删除；REPAIR:修复。 |
| message                  | Array of [LandingZoneErrorMessage] objects | Landing Zone错误消息。                                              |
| regions                  | Array of [RegionConfigurationList] objects | 纳管的区域信息。                                                       |
   
 表2PercentageDetail 
| 参数                | 参数类型   | 描述    |
|:---|:---|:---|
| percentage_name   | String | 进度名称。 |
| percentage_status | String | 进度状态。 |
   
 表3LandingZoneErrorMessage 
| 参数      | 参数类型   | 描述                   |
|:---|:---|:---|
| level   | String | Landing Zone的错误级别。   |
| message | String | Landing Zone详细的错误信息。 |
   
 表4RegionConfigurationList 
| 参数                          | 参数类型   | 描述                       |
|:---|:---|:---|
| region                      | String | 区域名字。                    |
| region_configuration_status | String | 区域状态，ENABLE启用，DISABLE禁用。 |
   
**状态码：403**
表5响应Body参数 
| 参数                            | 参数类型                                                                                           | 描述           |
|:---|:---|:---|
| error_code                    | String                                                                                         | 错误码          |
| error_msg                     | String                                                                                         | 错误信息         |
| request_id                    | String                                                                                         | 请求唯一标识       |
| encoded_authorization_message | String                                                                                         | 加密的错误信息      |
| details                       | Array of [ForbiddenErrorDetail] objects | 跨服务调用无权限错误信息 |
   
 表6ForbiddenErrorDetail 
| 参数         | 参数类型   | 描述   |
|:---|:---|:---|
| error_code | String | 错误码  |
| error_msg  | String | 错误信息 |
   
#### 请求示例
查询Landing Zone的设置状态。
```
GET https://{endpoint}/v1/landing-zone/status
```
#### 响应示例
**状态码：200**
请求成功。
```
{
  "deployed_version" : "string",
  "landing_zone_status" : "string",
  "percentage_complete" : 100,
  "percentage_details" : [ {
    "percentage_name" : "string",
    "percentage_status" : "string"
  } ],
  "landing_zone_action_type" : "string",
  "message" : [ {
    "level" : "string",
    "message" : "string"
  } ],
  "regions" : [ {
    "region" : "string",
    "region_configuration_status" : "ENABLED"
  } ]
}
```
#### 状态码
| 状态码 | 描述     |
|:---|:---|
| 200 | 请求成功。  |
| 403 | 请求无权限。 |
   
#### 错误码
请参见[错误码](https://support.huaweicloud.com/api-rgc/ErrorCode.html)。
