az disk

Manage Azure Managed Disks. Part of azure-cli (also known as az). More information: https://learn.microsoft.com/cli/azure/disk.

az disk create --resource-group {{resource_group}} --name {{disk_name}} --size-gb {{size_in_gb}}

az disk list --resource-group {{resource_group}}

az disk delete --resource-group {{resource_group}} --name {{disk_name}}

az disk grant-access --resource-group {{resource_group}} --name {{disk_name}} --access-level {{Read|Write}} --duration-in-seconds {{seconds}}

az disk update --resource-group {{resource_group}} --name {{disk_name}} --size-gb {{new_size_in_gb}}