mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 12:16:10 +02:00
21 lines
571 B
Markdown
21 lines
571 B
Markdown
# 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 {{[-n|--name]}} {{name}} {{[-l|--location]}} {{location}}`
|
|
|
|
- Check if a resource group exists:
|
|
|
|
`az group exists {{[-n|--name]}} {{name}}`
|
|
|
|
- Delete a resource group:
|
|
|
|
`az group delete {{[-n|--name]}} {{name}}`
|
|
|
|
- Wait until a condition of the resource group is met:
|
|
|
|
`az group wait {{[-n|--name]}} {{name}} --{{created|deleted|exists|updated}}`
|