az disk
Manage Azure Managed Disks. Azure CLI reference
8 commands 36 options Its page in the Azure CLI reference
Commands
createCreate a managed disk.deleteDelete a managed disk.grant-accessGrant a resource access to a managed disk.listList managed disks.revoke-accessRevoke a resource's read access to a managed disk.showGet information about a disk.updateUpdate a managed disk.waitPlace the CLI in a waiting state until a condition is met.Options
Show its 36 options
--accelerated-networkCustomers can set on Managed Disks or Snapshots to enable the accelerated networking if the OS disk image support.--access-levelaccess level--architectureCPU architecture.--data-access-auth-modeSpecify the auth mode when exporting or uploading to a disk or snapshot.--disk-accessName or ID of the disk access resource for using private endpoints on disks.--disk-encryption-setName or ID of disk encryption set that is used to encrypt the disk.--disk-iops-read-onlyThe total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly.--disk-iops-read-writeThe number of IOPS allowed for this disk.--disk-mbps-read-onlyThe total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly.--disk-mbps-read-writeThe bandwidth allowed for this disk.--disk-nameThe name of the managed disk--duration-in-secondsTime duration in seconds until the SAS access expires--edge-zoneThe name of edge zone.--enable-burstingEnable on-demand bursting beyond the provisioned performance target of the disk.--encryption-typeEncryption type.--gallery-image-reference-lun, --image-reference-lunIf the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use.--gallery-image-referenceID of the Compute, Shared or Community Gallery image version from which to create a disk.--hyper-v-generationThe hypervisor generation of the Virtual Machine.--image-referenceID or URN (publisher:offer:sku:version) of the image from which to create a disk--locationLocation.--logical-sector-sizeLogical sector size in bytes for Ultra disks.--max-sharesThe maximum number of VMs that can attach to the disk at the same time.--name, -n--network-access-policyPolicy for accessing the disk via network.--optimized-for-frequent-attachSetting this property to true improves reliability and performance of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to another.--os-typeThe Operating System type of the Disk.--public-network-accessCustomers can set on Managed Disks or Snapshots to control the export policy on the disk.--security-typeThe security type of the VM.--size-gb, -zsize in GB.--skuUnderlying storage SKU--source-storage-account-idused when source blob is in a different subscription--support-hibernationIndicate the OS on a disk supports hibernation.--tagsspace-separated tags: key[=value] [key[=value] ...].--tierPerformance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/pricing/details/managed-disks/.--upload-size-bytesThe size (in bytes) of the contents of the upload including the VHD footer.--zoneAvailability zone into which to provision the resource.