All Products
Search
Document Center

Cloud Config:ListPreManagedRules

Last Updated:May 09, 2024

Queries a list of evaluation rules.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
PageNumberlongNo

The number of the page to return.

Pages start from page 1. Default value: 1.

1
PageSizelongNo

The number of entries to return on each page.

Default value: 10.

1
ResourceTypesarrayNo

The type of the resource.

stringNo
ACS::ECS::Instance

For more information about common request parameters, see Common parameters.

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

A2A9F1BE-0712-1B26-9899-D82F7DA8476C
ManagedRulesobject []

The evaluation rules.

ResourceTypestring

The type of the resource.

ACS::ECS::Instance
Descriptionstring

The description of the evaluation rule.

OptionalInputParameterDetailsobject

The details of the optional input parameters of the evaluation rule.

{}
Identifierstring

The identifier of the evaluation rule.

ecs-instance-deletion-protection-enabled
ConfigRuleNamestring

The name of the evaluation rule.

HelpUrlsstring

The URL of the topic that describes how the managed rule remediates the incompliant configurations.

https://example.aliyundoc.com
CompulsoryInputParameterDetailsobject

The required input parameters of the evaluation rule.

{}
PageNumberlong

The page number of the returned page.

1
PageSizelong

The number of entries returned per page.

1

Examples

Sample success responses

JSONformat

{
  "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 timeSummary of changesOperation
No change history