Resource Group
Create Resource Group
bash
az group create --name <name> --location <location>
powershell
New-AzResourceGroup -Name vm-networks -Location "EastUS"
Resource Group List
bash
az group list
Clean Up Resource Group by Name
bash
az group delete --name <resource group name> --no-wait --yes
Resource
Tag Resource
bash
az resource tag --tags Department=Finance \
--resource-group msftlearn-core-infrastructure-rg \
--name msftlearn-vnet1 \
--resource-type "Microsoft.Network/virtualNetworks"