检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
参数 参数类型 描述 error_code String 错误码。 error_msg String 错误消息内容。 请求示例 GET https://{endpoint}/v1/resource-manager/domains/059b5c937100d3e40ff0c00a76
String 错误码。 error_msg String 错误消息内容。 请求示例 更新高级查询,用于查询开机状态的云服务器。 PUT https://{endpoint}/v1/resource-manager/domains/{domain_id}/stored-queries/{query_id}
error_msg String 错误消息内容。 请求示例 创建一个名为“allowed-images-by-id”的合规规则。 PUT https://{endpoint}/v1/resource-manager/domains/{domain_id}/policy-assignments
String 错误码。 error_msg String 错误消息内容。 请求示例 给资源聚合器账号授予从源账号收集数据的权限。 PUT https://{endpoint}/v1/resource-manager/domains/{domain_id}/aggregators/ag
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}/policy-assignm
error_msg String 错误消息内容。 请求示例 functionGraph上报合规评估结果为“NonCompliant”。 PUT https://{endpoint}/v1/resource-manager/domains/{domain_id}/policy-states
error_code String 错误码。 error_msg String 错误消息内容。 请求示例 创建一个账号类型的资源聚合器。 PUT https://{endpoint}/v1/resource-manager/domains/{domain_id}/aggregators {
描述 error_code String 错误码。 error_msg String 错误消息内容。 请求示例 更新资源聚合器。 PUT https://{endpoint}/v1/resource-manager/domains/{domain_id}/aggregators/{aggregator_id}
合规规则修正配置 修正配置概述 创建修正配置 修正配置示例 手动执行修正 设置修正例外 编辑修正配置 删除修正配置 父主题: 资源合规
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());
参数 参数类型 描述 error_code String 错误码。 error_msg String 错误消息内容。 请求示例 PUT https://{endpoint}/v1/resource-manager/domains/{domain_id}/policy-assignm
error_code String 错误码。 error_msg String 错误消息内容。 请求示例 查询当前用户下所有虚拟机。 GET https://{endpoint}/v1/resource-manager/domains/{domain_id}/provider/ecs/t
error_code String 错误码。 error_msg String 错误消息内容。 请求示例 查询当前用户资源记录器收集的资源数量。 GET https://{endpoint}/v1/resource-manager/domains/{domain_id}/tracked-resources/count
表2 请求Body参数 参数 是否必选 参数类型 描述 excluded_accounts 否 Array of strings 需要排除配置规则的账号。 最大长度:32 organization_policy_assignment_name 是 String 组织合规规则名称。
表3 请求Body参数 参数 是否必选 参数类型 描述 excluded_accounts 否 Array of strings 需要排除配置规则的账号。 最大长度:32 organization_policy_assignment_name 是 String 组织合规规则名称。
error_code String 错误码。 error_msg String 错误消息内容。 请求示例 根据标签查询实例数量 POST https://{endpoint}/v1/resource-manager/{resource_type}/resource-instances/count