Azure CLI Tip – Use AI to find az commands

This post has been republished via RSS; it originally appeared at: ITOps Talk Blog articles.

The Azure command-line interface (Azure CLI) is a great way to create and manage Azure resources. Azure CLI is available on Windows, macOS, and Linux, and it supports managing resources across Azure services and gets you working quickly with Azure, with an emphasis on automation. If you did use the Azure CLI, you might find this tip very handy. I am talking about the az find command. The az find command provides you with example commands based on Azure documentation and usage patterns of the Azure CLI and Azure Resource Manager users.

 

For example, if you want to see the most popular commands within an Azure CLI group.

 

 

 

az find "az container"

 

 

 

Azure Find Azure CLI GroupAzure Find Azure CLI Group

 You can also use az find to find the most popular parameters and subcommands.

 

 

az find "az monitor activity-log"

 

 

Search for popular parametersSearch for popular parameters

 And the best, you can also use search terms, and Azure CLI will help you find the best commands.

 

 

az find "delete azure backup vault"

 

 

Azure Find Azure CLI Search TermAzure Find Azure CLI Search Term

You can see that I was looking for how I can delete an Azure backup or recovery service vault. Since the Azure CLI find command learn form documentation and usage, I not only get the example to delete an existing Recovery service vault, it also lets me know of other related examples that might come in handy. 

 

If you want to learn more about the az find command, check out the Microsoft Docs. And if you want to install the Azure CLI, check out the following blog

Did you know about the az find command and that it uses AI and Machine Learning to give you recommendations based on Microsoft Docs and usage? Or if you have a question, feel free to leave a comment below.

REMEMBER: these articles are SYNDICATED. Your best bet to get a reply is to follow the link at the top of the post to the ORIGINAL post! BUT you're more than welcome to start discussions here:

This site uses Akismet to reduce spam. Learn how your comment data is processed.