Queries a list of evaluation rules supported by Cloud Config.
Operation description
For more information about how to define, execute, and integrate an evaluation rule, see Definition and execution of evaluation rules.
After you create an evaluation rule, a managed rule that has the same settings as the evaluation rule is created. After you create a resource, the managed rule can be used to continuously check the compliance of the resource.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PageNumber | long | No | The number of the page to return. Pages start from page 1. Default value: 1. | 1 |
PageSize | long | No | The number of entries to return on each page. Default value: 10. | 1 |
ResourceTypes | array | No | The type of the resource. | |
string | No | ACS::ECS::Instance |
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "A2A9F1BE-0712-1B26-9899-D82F7DA8476C",
"ManagedRules": [
{
"ResourceType": "ACS::ECS::Instance",
"Description": "",
"OptionalInputParameterDetails": {},
"Identifier": "ecs-instance-deletion-protection-enabled",
"ConfigRuleName": "",
"HelpUrls": "https://example.aliyundoc.com",
"CompulsoryInputParameterDetails": {}
}
],
"PageNumber": 1,
"PageSize": 1
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|