Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


...

Tips and Tidbits

  • You can install it locally on computers running the Linux, macOS, or Windows operating systems.

    • You can also use Azure CLI from a browser through Azure Cloud Shell.

  • Azure CLI can be used interactively or through scripts

  • how do you find the particular commands you need? One way is to use az find.

  • If you already know the name of the command you want, the --help argument for that command will get you more detailed information on the command

  • Az is the formal name for the Azure PowerShell module, which contains cmdlets to work with Azure features.

  • This module is an open-source component available on GitHub.

...

Source: Create virtual networks

...

Query / Filter Output

If you have several items in the group list, you can filter the return values by adding a --query option

Code Block
az group list --query "[?name == '$RESOURCE_GROUP']"

The query is formatted using JMESPath, which is a standard query language for JSON requests. You can learn more about this powerful filter language at http://jmespath.org/

...

List Resource Groups Starting With Name Pattern

...