Reverts the ignored evaluation results of a rule in an account group so that the evaluation results on the specified resources are displayed again.
Operation description
Prerequisites
At least one non-compliant resource evaluated by a rule is ignored. For more information, see IgnoreAggregateEvaluationResults.
Description
In this example, the ignored evaluation result is reverted for a non-compliant resource evaluated by rule cr-7e72626622af0051**** of member 120886317861**** in account group ca-5b6c626622af008f****. The resource resides in the cn-beijing region, is of type ACS::SLB::LoadBalancer, and has an ID of lb-hp3a3b4ztyfm2plgm****.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
config:RevertAggregateEvaluationResults |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ConfigRuleId |
string |
Yes |
The ID of the rule in the account group. |
cr-7e72626622af0051**** |
| Resources |
array<object> |
Yes |
The resources that you want to re-evaluate. |
|
|
object |
No |
The resources that you want to re-evaluate. |
||
| ResourceAccountId |
integer |
Yes |
The ID of the Alibaba Cloud account to which the resource belongs. Note
You must specify the ID of the current management account or a member in the account group of the management account. |
120886317861**** |
| ResourceType |
string |
Yes |
The type of the resource. To obtain the resource type, see ListAggregateDiscoveredResources. |
ACS::SLB::LoadBalancer |
| Region |
string |
Yes |
The ID of the region in which your resources reside. To obtain the region ID, see ListAggregateDiscoveredResources. |
cn-beijing |
| ResourceId |
string |
Yes |
The resource ID. To obtain the resource ID, see ListAggregateDiscoveredResources. |
lb-hp3a3b4ztyfm2plgm**** |
| AggregatorId |
string |
Yes |
The ID of the account group. To obtain the account group ID, see ListAggregators. |
ca-5b6c626622af008f**** |
For more information about common request parameters, see Common parameters.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
BB11CBF2-0B0B-59F2-9E84-07B38267AD12 |
Examples
Success response
JSON format
{
"RequestId": "BB11CBF2-0B0B-59F2-9E84-07B38267AD12"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | |
| 400 | Invalid.AggregatorId.Value | The specified AggregatorId is invalid. | |
| 503 | ServiceUnavailable | 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.