列出漂移信息
功能介绍
列出Landing Zone的所有漂移详细信息。
URI
GET https://{endpoint}/v1/governance/drift-details
请求参数
无
响应参数
状态码:200
参数 |
参数类型 |
描述 |
---|---|---|
drift_details |
Array of DriftDetail objects |
漂移详细信息。 |
参数 |
参数类型 |
描述 |
---|---|---|
managed_account_id |
String |
管理员账号ID。 |
drift_type |
String |
漂移类型。 |
drift_target_id |
String |
漂移发生的纳管账号ID或注册OU ID。 |
drift_target_type |
String |
漂移目标类型,类型有account、ou和policy。 |
drift_message |
String |
漂移信息。 |
parent_organizational_unit_id |
String |
父注册OU ID。 |
solve_solution |
String |
漂移修复方法。 |
状态码: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/governance/drift-details
响应示例
状态码:200
请求成功。
{ "drift_details" : [ { "managed_account_id" : "string", "drift_type" : "string", "drift_target_id" : "string", "drift_target_type" : "string", "drift_message" : "string", "parent_organizational_unit_id" : "string", "solve_solution" : "string" } ] }
状态码
状态码 |
描述 |
---|---|
200 |
请求成功。 |
403 |
请求无权限。 |
错误码
请参见错误码。