You can execute a SELECT
statement to search for resources based on fields in the resource properties. For
example, you can use this method to search for the memory of an Elastic Compute Service
(ECS) instance.
Background information
Before you write a SELECT
statement to search for resources, you must obtain the fields and the types of the
fields from the properties file of the specified resource type. For more information
about properties files, see Alibaba Cloud Config Resource Schema.
Each resource type supported by Cloud Config has a properties file. Properties files
are named based on the corresponding resource types. For example, the properties file
of the ACS::ECS::Instance
resource type is named ACS_ECS_Instance.properties.json. Properties files of different resource types are placed under the config/properties/resource-types path.
Use an ordinary account
If you use an ordinary account, you can search for the resources within your account.
Use a management account
If you use a management account, you can search for the resources within your account and those within the member accounts in each account group.