Using Advanced Queries
In this section, you will learn how to use advanced queries to query resources and download resource data.
Applicable Scenario
You can use ResourceQL to query resources with the advanced query function provided by Config. Advanced queries make it convenient to export resource data as needed.
Procedure
- Log in to the Config Console.
- In the navigation pane on the left, select Advanced Queries.
- Click Custom Queries and click Create Query in the upper right corner.
- Enter the following query and click Run to query idle EVS disks.
SELECT * FROM tracked_resources WHERE provider = 'evs' AND type = 'volumes' AND properties.status != 'in-use'
- On the Results area, click Export to export query results to a CSV or a JSON file.
Related Links
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot