查询Landing Zone的配置 - ShowLandingZoneConfiguration
功能介绍
查询当前客户的Landing Zone的所有配置。
授权信息
账号根用户具备所有API的调用权限,如果使用账号下的IAM用户调用当前API,该IAM用户需具备如下身份策略权限,更多的权限说明请参见权限和授权项。
授权项 | 访问级别 | 资源类型(*为必须) | 条件键 | 别名 | 依赖的授权项 |
|---|---|---|---|---|---|
rgc:landingZoneConfiguration:get | Read | - | - | - | - |
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 | 日志基础设置。 |
参数 | 参数类型 | 描述 |
|---|---|---|
organizational_unit_name | String | 注册OU名称。 |
organizational_unit_type | String | 可设置的注册OU类型。包括核心注册OU和自定义注册OU。CORE:核心注册;CUSTOM:自定义注册。 |
accounts | Array of AccountBaselineRsp objects | 纳管账号基本信息。 |
参数 | 参数类型 | 描述 |
|---|---|---|
account_name | String | 纳管账号名称。 |
account_id | String | 纳管账号的唯一标识符(ID)。 |
account_type | String | 纳管账号类型。类型包括LOGGING,SECURITY。 |
参数 | 参数类型 | 描述 |
|---|---|---|
region | String | 区域名字。 |
region_configuration_status | String | 区域状态,ENABLE启用,DISABLE禁用。 |
状态码: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 | 请求无权限。 |
错误码
请参见错误码。

