For system, network and cloud administrators
In order to list all resource groups that start with rg, for example, type:
az group list --query "[?starts_with(name,'rg')].name" --output tsv
In order to check the size of the managed disk in Azure, type:
az disk show --resource-group yourresourcegroup --name yourdiskname --query diskSizeGb
In order to view current disk performance SKU in Azure, type:
az disk show --resource-group yourresourcegroup --name yourdiskname --query sku
In order to view all properties of a managed disk in Azure type:
az disk show --resource-group yourresourcegroup --name yourdiskname
After an initial deployment, you might find yourself in need to change the size of the Azure managed disk you’ve just deployed. For example, if you want to change the size of it to 64GB, type:
az disk update --resource-group yourresourcegroup --name yourdiskname --size-gb 64