更新时间:2025-08-22 GMT+08:00
分享

查询Landing Zone的配置

功能介绍

查询当前客户的Landing Zone的所有配置。

URI

GET https://{endpoint}/v1/landing-zone/configuration

请求参数

响应参数

状态码:200

表1 响应Body参数

参数

参数类型

描述

common_configuration

CommonConfiguration object

Landing Zone配置信息。

logging_configuration

LoggingConfiguration object

Landing Zone日志配置。

organization_structure

Array of OrganizationStructureBaseLineRsp objects

纳管账号体系基础设置。

regions

Array of RegionConfigurationList objects

纳管的区域信息。

表2 CommonConfiguration

参数

参数类型

描述

home_region

String

主区域名。

cloud_trail_type

Boolean

CTS配置状态。

identity_center_status

String

是否设置Landing Zone的identity center。

organization_structure_type

String

设置organization的类型。STANDARD和NON_STANDARD。

表3 LoggingConfiguration

参数

参数类型

描述

logging_bucket_name

String

日志桶名称。

access_logging_bucket

AccessLoggingBucketBaseline object

访问日志基础设置。

logging_bucket

LoggingBucketBaseline object

日志基础设置。

表4 AccessLoggingBucketBaseline

参数

参数类型

描述

retention_days

Integer

桶保留天数。

enable_multi_az

Boolean

是否允许多AZ存储。

表5 LoggingBucketBaseline

参数

参数类型

描述

retention_days

Integer

桶保留天数。

enable_multi_az

Boolean

是否允许多AZ存储。

表6 OrganizationStructureBaseLineRsp

参数

参数类型

描述

organizational_unit_name

String

注册OU名称。

organizational_unit_type

String

可设置的注册OU类型。包括核心注册OU和自定义注册OU。

accounts

Array of AccountBaselineRsp objects

纳管账号基本信息。

表7 AccountBaselineRsp

参数

参数类型

描述

account_name

String

纳管账号名称。

account_id

String

纳管账号的唯一标识符(ID)。

account_type

String

纳管账号类型。类型包括LOGGING,SECURITY。

表8 RegionConfigurationList

参数

参数类型

描述

region

String

区域名字。

region_configuration_status

String

区域状态。

状态码:403

表9 响应Body参数

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误信息

request_id

String

请求唯一标识

encoded_authorization_message

String

加密的错误信息

details

Array of ForbiddenErrorDetail objects

跨服务调用无权限错误信息

表10 ForbiddenErrorDetail

参数

参数类型

描述

error_code

String

错误码

error_msg

String

错误信息

请求示例

查询当前客户的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

请求无权限。

错误码

请参见错误码

相关文档