Updated on 2024-03-18 GMT+08:00

Overview

Advanced Queries allows you to query your resource configuration states for one or more regions using ResourceQL.

You can directly use default advanced queries or creat custom advanced queries.

ResourceQL is a subset of structured query language (SQL) SELECT syntax to help you perform property-based queries and aggregations. The query complexity varies. You can query resources by tag or resource identifier, or by using complex SQL statements. For example, you can query an ECS with a specified OS version.

You can use Advanced Queries to:

  • Manage inventory. For example, you can query ECSs with certain specifications.
  • Check security compliance of your resources. For example, you can query resources for which specific configuration attributes (EIP and encrypted EVS disks) have been enabled or disabled.
  • Optimize costs. For example, you can query the EVS disks that are not attached to any ECS to avoid generating unnecessary fees.