All Products
Search
Document Center

Cloud Config:ListPreManagedRules

Last Updated:Dec 15, 2025

Queries the proactive rules supported by Cloud Config.

Operation description

For more information about the concepts, working principles, and integration procedure of proactive rules, see Definitions and working principles of proactive rules.

Proactive rules and rule templates originate from the same source rules. After you create resources, proactive rules continuously check your resources for compliance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

PageNumber

integer

No

The page number.

The value starts from 1. The default value is 1.

1

PageSize

integer

No

The number of entries to return on each page.

The default value is 10.

1

ResourceTypes

array

No

A list of resource types.

string

No

The resource type.

ACS::ECS::Instance

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

Response elements

Element

Type

Description

Example

object

None.

RequestId

string

The request ID.

A2A9F1BE-0712-1B26-9899-D82F7DA8476C

ManagedRules

array<object>

The list of proactive rules.

array<object>

A proactive rule.

ResourceType

string

The resource type.

ACS::ECS::Instance

Description

string

The description of the rule.

ECS实例开启释放保护,视为“合规”。

OptionalInputParameterDetails

object

The details of the optional input parameters for the rule.

{}

Identifier

string

The identifier of the rule.

ecs-instance-deletion-protection-enabled

ConfigRuleName

string

The name of the rule.

ECS实例开启释放保护

HelpUrls

string

The URL of the documentation that provides guidance on how to fix a non-compliant resource.

https://example.aliyundoc.com

CompulsoryInputParameterDetails

object

The details of the required input parameters for the rule.

{}

PageNumber

integer

The page number.

1

PageSize

integer

The number of entries returned on each page.

1

Examples

Success response

JSON format

{
  "RequestId": "A2A9F1BE-0712-1B26-9899-D82F7DA8476C",
  "ManagedRules": [
    {
      "ResourceType": "ACS::ECS::Instance",
      "Description": "ECS实例开启释放保护,视为“合规”。",
      "OptionalInputParameterDetails": {},
      "Identifier": "ecs-instance-deletion-protection-enabled",
      "ConfigRuleName": "ECS实例开启释放保护",
      "HelpUrls": "https://example.aliyundoc.com",
      "CompulsoryInputParameterDetails": {}
    }
  ],
  "PageNumber": 1,
  "PageSize": 1
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.