huawei-cloud-api-definitions-RMS 0.1.20240213

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":{"parameters":{"AuthToken":{"description":"用户Token。\n获取Token,请参考《统一身份认证服务API参考》的“获取用户Token”章节。请求响应成功后在响应消息头中包含的“X-Subject-Token”的值即为Token值。","in":"header","name":"X-Auth-Token","required":true,"schema":{"type":"string"}},"DomainId":{"description":"帐号ID","in":"path","name":"domain_id","required":true,"schema":{"maxLength":36,"pattern":"[\\w-]+","type":"string"}}},"schemas":{"AggregateComplianceSummaryResp":{"description":"聚合合规评估结果概况","properties":{"results":{"$ref":"#/components/schemas/AggregatePolicyComplianceSummaryResults"}},"type":"object"},"AggregatePolicyComplianceSummaryResult":{"description":"合规总结结果","properties":{"assignment_details":{"$ref":"#/components/schemas/PolicyComplianceSummaryUnit"},"group_name":{"description":"分组名称","type":"string"},"resource_details":{"$ref":"#/components/schemas/PolicyComplianceSummaryUnit"}},"type":"object"},"AggregatePolicyComplianceSummaryResults":{"description":"合规总结结果列表","items":{"$ref":"#/components/schemas/AggregatePolicyComplianceSummaryResult"},"type":"array"},"AggregatePolicyStatesRequest":{"description":"聚合合规评估结果请求体","properties":{"account_id":{"description":"源帐号ID","maxLength":36,"minLength":1,"pattern":"[\\w-]+","type":"string"},"aggregator_id":{"description":"资源聚合器ID","maxLength":256,"minLength":1,"pattern":"[\\w-]+","type":"string"},"group_by_key":{"description":"用于对资源计数进行分组的键(DOMAIN)。","maxLength":16,"minLength":1,"pattern":"[\\w-]+","type":"string"}},"required":["aggregator_id"],"type":"object"},"ErrorResp":{"description":"异常错误","properties":{"error_code":{"description":"错误码","type":"string"},"error_msg":{"description":"错误消息内容","type":"string"}},"type":"object"},"PolicyComplianceSummaryUnit":{"description":"规则总结详情","properties":{"compliant_count":{"description":"合规数量","type":"integer"},"non_compliant_count":{"description":"不合规数量","type":"integer"}},"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"71684d03de7545d7bdc1ae5caf95614f","host":"rms.myhuaweicloud.com","id":"2696cec4b1f24fd2bc16921063289b00","info_version":"v1","method":"post","name":"ShowAggregatePolicyStateComplianceSummary","parameters":null,"paths":{"/v1/resource-manager/domains/{domain_id}/aggregators/aggregate-data/policy-states/compliance-summary":{"post":{"description":"查询聚合器中一个或多个帐户的合规和不合规规则数。","operationId":"ShowAggregatePolicyStateComplianceSummary","parameters":[{"$ref":"#/components/parameters/AuthToken"},{"$ref":"#/components/parameters/DomainId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AggregatePolicyStatesRequest"}}},"description":"请求参数"},"responses":{"200":{"content":{"application/json":{"example":{"results":[{"assignment_details":{"compliant_count":0,"non_compliant_count":1},"group_name":"39f4a9434e0c4bf3806e5aff54adea39","resource_details":{"compliant_count":null,"non_compliant_count":70}},{"assignment_details":{"compliant_count":1,"non_compliant_count":0},"group_name":"789d4ac10eda4d9b8e090f5c2b1e4459","resource_details":{"compliant_count":null,"non_compliant_count":0}}]},"schema":{"$ref":"#/components/schemas/AggregateComplianceSummaryResp"}}},"description":"操作成功。"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResp"}}},"description":"输入参数不合法。"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResp"}}},"description":"用户认证失败或无操作权限。"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResp"}}},"description":"服务器内部错误。"}},"security":[{"AccessKeyAuth":[]}],"summary":"查询聚合器中一个或多个帐户的合规概况","tags":["Aggregator"],"x-is-registered":"Y","x-open-region-cloud":"hws,hws_hk","x-order":15,"x-request-examples-1":{"aggregator_id":"7ca3447830bd49c9b630a99680eaf90f","group_by_key":"DOMAIN"},"x-request-examples-description-1":"查询聚合器中一个或多个帐户的合规概况","x-request-examples-url-1":"PUT https://{endpoint}/v1/resource-manager/domains/{domain_id}/aggregators/aggregate-data/policy-states/compliance-summary","x-support-sdk":"Y"}}},"product_short":"RMS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询聚合器中一个或多个帐户的合规概况","tags":"聚合器","uri":null,"version":"3.0.0"}