Resumes the evaluation results of previously ignored resources for a specified rule.
Operation description
Prerequisites
At least one non-compliant resource evaluated by a rule has been ignored. For more information, see IgnoreEvaluationResults.
Description
The following example re-evaluates the lb-hp3a3b4ztyfm2plgm**** non-compliant resource evaluated by the cr-7e72626622af0051**** rule. The resource resides in the cn-beijing region, its type is ACS::SLB::LoadBalancer, and its ID is lb-hp3a3b4ztyfm2plgm****.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
config:RevertEvaluationResults |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ConfigRuleId |
string |
Yes |
The rule ID. To obtain a rule ID, see ListConfigRules. |
cr-7e72626622af0051**** |
| Resources |
array<object> |
Yes |
The resources that are to be re-evaluated. |
|
|
object |
No |
The resources that are to be re-evaluated. |
||
| ResourceAccountId |
integer |
Yes |
The ID of the Alibaba Cloud account to which the resource belongs. |
100931896542**** |
| ResourceType |
string |
Yes |
The resource type. To query resource types, see ListDiscoveredResources. |
ACS::SLB::LoadBalancer |
| Region |
string |
Yes |
The ID of the region in which the resource resides. To obtain the region ID of a resource, see ListDiscoveredResources. |
cn-beijing |
| ResourceId |
string |
Yes |
The resource ID. To obtain a resource ID, see ListDiscoveredResources. |
lb-hp3a3b4ztyfm2plgm**** |
For more information about common request parameters, see API Reference.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
01ACCBF2-0B0B-59F2-9E84-07B38267BCA1 |
Examples
Success response
JSON format
{
"RequestId": "01ACCBF2-0B0B-59F2-9E84-07B38267BCA1"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | |
| 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.