For system, network and cloud administrators

How to view disk size of an Azure managed disk using Azure CLI

In order to check the size of the managed disk in Azure, type:

az disk show --resource-group yourresourcegroup --name yourdiskname --query diskSizeGb

How to check an Azure disk performance SKU using Azure CLI

In order to view current disk performance SKU in Azure, type:

az disk show --resource-group yourresourcegroup --name yourdiskname --query sku


How to retrieve properties of a newly created Azure managed disk using Azure CLl

In order to view all properties of a managed disk in Azure type:

az disk show --resource-group yourresourcegroup --name yourdiskname


How to update the disk size of an Azure managed disk using Azure CLI

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


How to retrieve properties of a newly created Azure managed disk using Azure PowerShell

In order to display the properties of a managed disk, in PowerShell session type:

Get-AzDisk -ResourceGroupName yourresourcegroup -Name yourdiskname

Follow BusyNetwork