tldr/pages/common/az-group.md

526 B

az group

Manage resource groups and template deployments. Part of azure-cli (also known as az). More information: https://learn.microsoft.com/cli/azure/group.

  • Create a new resource group:

az group create --name {{name}} --location {{location}}

  • Check if a resource group exists:

az group exists --name {{name}}

  • Delete a resource group:

az group delete --name {{name}}

  • Wait until a condition of the resource group is met:

az group wait --name {{name}} --{{created|deleted|exists|updated}}