CmdID

CmdID / az / az disk

az disk create

Create a managed disk. Azure CLI reference

35 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

35 in the Azure CLI reference
Show its 35 options
--action-on-disk-delayDetermine on how to handle disks with slow I/O.
--availability-policyDetermines how platform treats disk failures
--bursting-enabledSet to true to enable bursting beyond the provisioned performance target of the disk.
--creation-dataDisk source information.
--data-access-auth-modeAdditional authentication requirements when exporting or uploading to a disk or snapshot.
--disk-access-idARM id of the DiskAccess resource for using private endpoints on disks.
--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; only settable for UltraSSD disks.
--disk-m-bps-read-onlyThe total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly.
--disk-m-bps-read-writeThe bandwidth allowed for this disk; only settable for UltraSSD disks.
--disk-name, --name, -nThe name of the managed disk that is being created.
--disk-size-gbIf creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create.
--encryptionEncryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
--extended-locationThe extended location where the disk will be created.
--for-uploadCreate the disk for uploading blobs.
--hyper-v-generationThe hypervisor generation of the Virtual Machine.
--max-sharesThe maximum number of VMs that can attach to the disk at the same time.
--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.
--performance-plusSet this flag to true to get a boost on the performance target of the disk deployed.
--public-network-accessPolicy for controlling export on the disk.
--secure-vm-disk-encryption-setName or ID of disk encryption set created with ConfidentialVmEncryptedWithCustomerKey encryption type.
--security-data-uriPlease specify the blob URI of VHD to be imported into VM guest state
--security-metadata-uriSpecify the blob URI to be imported into VM metadata for Confidential VM
--security-profileContains the security related information for the resource.
--skuThe disks sku name.
--sourcesource to create the disk/snapshot from, including unmanaged blob uri, managed disk id or name, or snapshot id or name
--supported-capabilitiesList of supported capabilities for the image from which the OS disk was created.
--supported-security-option, --security-optionRefer to the security capability of the disk supported to create a Trusted launch or Confidential VM
--supports-hibernationIndicates the OS on a disk supports hibernation.
--tagsResource tags
--tierPerformance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/.
--upload-typeCreate the disk for upload scenario.
--zonesThe Logical zone list for Disk.