...
Prerequisite | ||||||||
---|---|---|---|---|---|---|---|---|
version | az --version | |||||||
login | az login ( log into the browser ) | |||||||
image info | az vm image show | |||||||
term accept | az vm image terms show/accept | |||||||
resource-group | ||||||||
https://learn.microsoft.com/en-us/cli/azure/group?view=azure-cli-latest | ||||||||
list | https://learn.microsoft.com/en-us/cli/azure/group?view=azure-cli-latest#az-group-list az group list az group list --tag RG-tag az group list --query "[?location=='ukwest']" az group list --query "[?location!='ukwest']" | |||||||
| ||||||||
create | https://learn.microsoft.com/en-us/cli/azure/group?view=azure-cli-latest#az-group-create az group create -l ukwest -n SSR-RG2 --tag RG-tag=SSR2
| |||||||
delete | https://learn.microsoft.com/en-us/cli/azure/group?view=azure-cli-latest#az-group-delete az group delete --name SSR-RG2
|