Ignores the evaluation results of a rule for specific resources in an account group. You can also set an ignore expiration date for the rule. After the ignore period expires, the evaluation results of the rule for the resources are automatically restored.
Operation description
After you ignore a non-compliant resource, the rule still evaluates the resource, but the evaluation result is displayed as ignored.
This topic provides an example on how to ignore the evaluation results of the rule cr-7e72626622af0051**** for a specified non-compliant resource in the member account 120886317861**** within the account group ca-5b6c626622af008f****. The region ID of the resource ownership is cn-beijing, the resource type is ACS::SLB::LoadBalancer, and the resource ID is lb-hp3a3b4ztyfm2plgm****.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
config:IgnoreAggregateEvaluationResults |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ConfigRuleId |
string |
Yes |
The rule ID. For information about how to obtain the rule ID, see ListAggregateConfigRules. |
cr-7e72626622af0051**** |
| Resources |
array<object> |
Yes |
The list of resources to be ignored. |
|
|
object |
No |
The list of resources to be ignored. |
||
| ResourceAccountId |
integer |
Yes |
The Alibaba Cloud account ID of the resource ownership. Note
The account must be the current management account or one of the member accounts within the current management account. |
120886317861**** |
| ResourceType |
string |
Yes |
The resource type. For information about how to obtain the resource type, see ListAggregateDiscoveredResources. |
ACS::SLB::LoadBalancer |
| Region |
string |
Yes |
The region ID of the resource ownership. For information about how to obtain the region ID of the resource ownership, see ListAggregateDiscoveredResources. |
cn-beijing |
| ResourceId |
string |
Yes |
The resource ID. For information about how to obtain the resource ID, see ListAggregateDiscoveredResources. |
lb-hp3a3b4ztyfm2plgm**** |
| AggregatorId |
string |
Yes |
The account group ID. For information about how to obtain the account group ID, see ListAggregators. |
ca-5b6c626622af008f**** |
| Reason |
string |
No |
The reason for ignoring the resource. |
No check required |
| IgnoreDate |
string |
No |
The date on which the ignored evaluation results are automatically restored, in the YYYY-MM-DD format. If this parameter is left empty, the evaluation results are not automatically restored and must be manually restored. |
2022-06-01 |
For more information about common request parameters, see Common parameters.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0132CBF2-0B0B-59F2-9E84-07B38267BC32 |
Examples
Success response
JSON format
{
"RequestId": "0132CBF2-0B0B-59F2-9E84-07B38267BC32"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | You are not authorized to perform this operation. |
| 400 | Invalid.AggregatorId.Value | The specified AggregatorId is invalid. | The specified aggregator ID does not exist or you are not authorized to use the aggregator. |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | The request has failed due to a temporary failure of the server. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.