Azure CLI

Terminology

login

az login

Find commands

Intelligent command search

az find blob

az find 'az monitor activity-log list'

Get help

Find commands

az --help

Get info on a command

az storage blob --help

Output formats

Output formats

az vm list --out table

Filter Output

Use JMESPath to query a request

az group list --query "[?name == '<rg name>']"

az group list --query "[?location == 'westeurope']"

See http://jmespath.org/

Resources