mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
27 lines
664 B
Plaintext
27 lines
664 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|