查询Landing Zone的配置
功能介绍
查询当前客户的Landing Zone的所有配置。
URI
GET /v1/landing-zone/configuration
请求参数
无
响应参数
状态码:200
| 
        参数  | 
      
        参数类型  | 
      
        描述  | 
     
|---|---|---|
| 
        common_configuration  | 
      
        CommonConfiguration object  | 
      
        Landing Zone配置信息。  | 
     
| 
        logging_configuration  | 
      
        LoggingConfiguration object  | 
      
        Landing Zone日志配置。  | 
     
| 
        organization_structure  | 
      
        Array of OrganizationStructureBaseLineRsp objects  | 
      
        纳管账号体系基础设置。  | 
     
| 
        regions  | 
      
        Array of RegionConfigurationList objects  | 
      
        纳管的区域信息。  | 
     
| 
        参数  | 
      
        参数类型  | 
      
        描述  | 
     
|---|---|---|
| 
        home_region  | 
      
        String  | 
      
        主区域名。  | 
     
| 
        cloud_trail_type  | 
      
        Boolean  | 
      
        CTS配置状态。  | 
     
| 
        identity_center_status  | 
      
        String  | 
      
        是否设置Landing Zone的identity center。  | 
     
| 
        organization_structure_type  | 
      
        String  | 
      
        设置organization的类型。STANDARD和NON_STANDARD。  | 
     
| 
        参数  | 
      
        参数类型  | 
      
        描述  | 
     
|---|---|---|
| 
        logging_bucket_name  | 
      
        String  | 
      
        日志桶名称。  | 
     
| 
        access_logging_bucket  | 
      
        AccessLoggingBucketBaseline object  | 
      
        访问日志基础设置。  | 
     
| 
        logging_bucket  | 
      
        LoggingBucketBaseline object  | 
      
        日志基础设置。  | 
     
| 
        参数  | 
      
        参数类型  | 
      
        描述  | 
     
|---|---|---|
| 
        retention_days  | 
      
        Integer  | 
      
        桶保留天数。  | 
     
| 
        enable_multi_az  | 
      
        Boolean  | 
      
        是否允许多AZ存储。  | 
     
| 
        参数  | 
      
        参数类型  | 
      
        描述  | 
     
|---|---|---|
| 
        retention_days  | 
      
        Integer  | 
      
        桶保留天数。  | 
     
| 
        enable_multi_az  | 
      
        Boolean  | 
      
        是否允许多AZ存储。  | 
     
| 
        参数  | 
      
        参数类型  | 
      
        描述  | 
     
|---|---|---|
| 
        organizational_unit_name  | 
      
        String  | 
      
        注册OU名称。  | 
     
| 
        organizational_unit_type  | 
      
        String  | 
      
        可设置的注册OU类型。包括核心注册OU和自定义注册OU。  | 
     
| 
        accounts  | 
      
        Array of AccountBaselineRsp objects  | 
      
        纳管账号基本信息。  | 
     
| 
        参数  | 
      
        参数类型  | 
      
        描述  | 
     
|---|---|---|
| 
        account_name  | 
      
        String  | 
      
        纳管账号名称。  | 
     
| 
        account_id  | 
      
        String  | 
      
        纳管账号的唯一标识符(ID)。  | 
     
| 
        account_type  | 
      
        String  | 
      
        纳管账号类型。类型包括LOGGING,SECURITY。  | 
     
状态码:403
| 
        参数  | 
      
        参数类型  | 
      
        描述  | 
     
|---|---|---|
| 
        error_code  | 
      
        String  | 
      
        错误码  | 
     
| 
        error_msg  | 
      
        String  | 
      
        错误信息  | 
     
| 
        request_id  | 
      
        String  | 
      
        请求唯一标识  | 
     
| 
        encoded_authorization_message  | 
      
        String  | 
      
        加密的错误信息  | 
     
| 
        details  | 
      
        Array of ForbiddenErrorDetail objects  | 
      
        跨服务调用无权限错误信息  | 
     
请求示例
查询当前客户的Landing Zone的所有配置。
GET https://{endpoint}/v1/landing-zone/configuration
 响应示例
状态码:200
请求成功。
{
  "common_configuration" : {
    "home_region" : "string",
    "cloud_trail_type" : true
  },
  "logging_configuration" : {
    "access_logging_bucket" : {
      "retention_days" : 5475
    },
    "logging_bucket" : {
      "retention_days" : 5475
    }
  },
  "organization_structure" : [ {
    "organizational_unit_name" : "string",
    "organizational_unit_type" : "CORE",
    "accounts" : [ {
      "account_name" : "string",
      "account_type" : "LOGGING"
    } ]
  } ],
  "regions" : [ {
    "region" : "string",
    "region_configuration_status" : "ENABLED"
  } ]
}
 状态码
| 
        状态码  | 
      
        描述  | 
     
|---|---|
| 
        200  | 
      
        请求成功。  | 
     
| 
        403  | 
      
        请求无权限。  | 
     
错误码
请参见错误码。