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 create resource group jlk0013 [ ~ ]$ az group create -l ukwest -n SSR-RG2 --tag RG-tag=SSR2 { "id": "/subscriptions/28295197-d42c-4d58-a57c-0afc663bb5cf/resourceGroups/SSR-RG2", "location": "ukwest", "managedBy": null, "name": "SSR-RG2", "properties": { "provisioningState": "Succeeded" }, "tags": { "RG-tag": "SSR2" }, "type": "Microsoft.Resources/resourceGroups" } |
delete | https://learn.microsoft.com/en-us/cli/azure/group?view=azure-cli-latest#az-group-delete |
General
Content
Integrations