Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.67 KB

use-azure-cli-successfully-query.md

File metadata and controls

38 lines (26 loc) · 1.67 KB
titledescriptionms.datems.topicms.custom
Query Azure CLI command results | Microsoft Docs
Learn to use the Azure CLI --query parameter syntax and return information about Azure resources. Find tips to JMESPath syntax.
06/26/2024
concept-article
devx-track-azurecli

How to query Azure CLI command output using a JMESPath query

The Azure CLI uses the --query parameter to execute a JMESPath query on the results of commands. JMESPath is a query language for JSON, giving you the ability to select and modify data from CLI output.

All commands in Azure CLI support the --query parameter. This article covers how to use the features of JMESPath and gives examples of queries. Learn about JMESPath concepts that are useful for querying under the concepts tab. See examples of JMESPath queries under the examples tab.

[!INCLUDE Query Concepts]

[!INCLUDE Query Examples]


Next steps

To learn more about JMESPath queries, see JMESPath Tutorial.

To learn more about other Azure CLI concepts mentioned in this article see:

close