检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
服务器无法找到被请求的页面。 405 Method Not Allowed 请求中指定的方法不被允许。 406 Not Acceptable 服务器生成的响应无法被客户端所接受。 407 Proxy Authentication Required 用户必须首先使用代理服务器进行验证,这样请求才会被处理。
error_code String 错误码。 error_msg String 错误消息内容。 请求示例 查询聚合器中一个或多个账号的合规概况 POST https://{endpoint}/v1/resource-manager/domains/{domain_id}/aggregators/ag
error_code String 错误码。 error_msg String 错误消息内容。 请求示例 更新用户的合规规则包。 PUT https://{endpoint}/v1/resource-manager/domains/{domain_id}/conformance-pa
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
error_code String 错误码。 error_msg String 错误消息内容。 请求示例 根据预定义模板创建一个合规规则包。 POST https://{endpoint}/v1/resource-manager/domains/{domain_id}/conformance-packs
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
资源修正成功后,为什么资源在合规规则页面还是不合规? 资源修正完成后,资源的变更行为通常会在5分钟之内通知Config服务,规则会自动触发该资源的合规评估并生成最新的资源合规结果。
error_code String 错误码。 error_msg String 错误消息内容。 请求示例 查询指定聚合合规规则详情 POST https://{endpoint}/v1/resource-manager/domains/{domain_id}/aggregators/ag
error_code String 错误码。 error_msg String 错误消息内容。 请求示例 查询源账号中特定资源的详情。 POST https://{endpoint}/v1/resource-manager/domains/{domain_id}/aggregators/ag
error_msg String 错误消息内容。 请求示例 functionGraph上报合规评估结果为“NonCompliant”。 PUT https://{endpoint}/v1/resource-manager/domains/{domain_id}/policy-states
error_code String 错误码。 error_msg String 错误消息内容。 请求示例 查询资源聚合器中特定资源类型的列表。 POST https://{endpoint}/v1/resource-manager/domains/{domain_id}/aggregators/ag
error_code String 错误码。 error_msg String 错误消息内容。 请求示例 根据标签查询实例数量 POST https://{endpoint}/v1/resource-manager/{resource_type}/resource-instances/count
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
规则评估结果 当触发规则评估后,会生成相应的评估结果(PolicyState)。 使用JSON表达式来表示一个评估结果,如表1所示。 表1 规则评估结果-JSON表达式格式 参数 定义 说明 domain_id 账号ID 用于区分用户。规则评估结果的domain_id不会为空。 resource_id