az disk By mikefrobbins Archived: 2026-04-05 21:10:42 UTC In this article 1. Commands 2. az disk create 3. az disk delete 4. az disk grant-access 5. az disk list 6. az disk revoke-access 7. az disk show 8. az disk update 9. az disk wait Manage Azure Managed Disks. Azure Virtual Machines use disks as a place to store an operating system, applications, and data. All Azure virtual machines have at least two disks: An operating system disk, and a temporary disk. The operating system disk is created from an image, and both the operating system disk and the image are actually virtual hard disks (VHDs) stored in an Azure storage account. Virtual machines also can have one or more data disks, that are also stored as VHDs. Azure Unmanaged Data Disks have a maximum size of 4095 GB. To use disks larger than 4095 GB use Azure Managed Disks. Name Description Type Status az disk config Manage disk config. Core GA az disk config update Update disk config. Core GA az disk create Create a managed disk. Core GA az disk delete Delete a managed disk. Core GA az disk grant-access Grant a resource access to a managed disk. Core GA https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 1 of 26 Name Description Type Status az disk list List managed disks. Core GA az disk revoke-access Revoke a resource's read access to a managed disk. Core GA az disk show Get information about a disk. Core GA az disk update Update a managed disk. Core GA az disk wait Place the CLI in a waiting state until a condition is met. Core GA Create a managed disk. az disk create --name --resource-group [--accelerated-network {false, true}] [--action-on-disk-delay {AutomaticReattach}] [--architecture {Arm64, x64}] [--data-access-auth-mode {AzureActiveDirectory, None}] [--disk-access] [--disk-encryption-set] [--disk-iops-read-only] [--disk-iops-read-write] [--disk-mbps-read-only] [--disk-mbps-read-write] [--edge-zone] [--enable-bursting {false, true}] [--encryption-type {EncryptionAtRestWithCustomerKey, EncryptionAtRestWithPlatformAndCustomerKeys, [--gallery-image-reference] [--gallery-image-reference-lun] [--hyper-v-generation {V1, V2}] [--image-reference] [--image-reference-lun] [--location] [--logical-sector-size] [--max-shares] [--network-access-policy {AllowAll, AllowPrivate, DenyAll}] [--no-wait] [--optimized-for-frequent-attach {false, true}] https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 2 of 26 [--os-type {Linux, Windows}] [--performance-plus {false, true}] [--public-network-access {Disabled, Enabled}] [--secure-vm-disk-encryption-set] [--security-data-uri] [--security-metadata-uri] [--security-option --supported-security-option {TrustedLaunchAndConfidentialVMSupported, TrustedL [--security-type {ConfidentialVM_DiskEncryptedWithCustomerKey, ConfidentialVM_DiskEncryptedWithPl [--size-gb] [--sku {PremiumV2_LRS, Premium_LRS, Premium_ZRS, StandardSSD_LRS, StandardSSD_ZRS, Standard_LRS, [--source] [--source-storage-account-id] [--support-hibernation {false, true}] [--tags] [--tier] [--upload-size-bytes] [--upload-type {Upload, UploadWithSecurityData}] [--zone] Create a managed disk by importing from a blob uri. az disk create -g MyResourceGroup -n MyDisk --source https://vhd1234.blob.core.windows.net/vhds/osdisk1234.vhd Create an empty managed disk. az disk create -g MyResourceGroup -n MyDisk --size-gb 10 Create an empty managed disk with bursting enabled. az disk create -g MyResourceGroup -n MyDisk --size-gb 1024 --location centraluseuap --enable-bursting Create a managed disk by copying an existing disk or snapshot. az disk create -g MyResourceGroup -n MyDisk2 --source MyDisk Create a disk in an availability zone in the region of "East US 2" az disk create -g MyResourceGroup -n MyDisk --size-gb 10 --location eastus2 --zone 1 Create a disk from image. az disk create -g MyResourceGroup -n MyDisk --image-reference Canonical:0001-com-ubuntu-server-jammy:22_04-lts-https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 3 of 26 Create a disk from the OS Disk of a compute gallery image version az disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /subscriptions/00000000-0000-0000-0000-00 Create a disk from the OS Disk of the latest version in a compute gallery image az disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /subscriptions/00000000-0000-0000-0000-00 Create a disk from the OS Disk of a shared gallery image version az disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /SharedGalleries/sharedGalleryUniqueName/ Create a disk from the OS Disk of a community gallery image version az disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /CommunityGalleries/communityGalleryPubli Create a disk from the Data Disk of a gallery image az disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /subscriptions/00000000-0000-0000-0000-00 Create a disk with total number of IOPS and total throughput (MBps) limitation. az disk create -g MyResourceGroup -n MyDisk --size-gb 10 --sku UltraSSD_LRS --disk-iops-read-only 200 --disk-mb Create a disk and specify maximum number of VMs that can attach to the disk at the same time. az disk create -g MyResourceGroup -n MyDisk --size-gb 256 --max-shares 2 -l centraluseuap Create a disk and associate it with a disk access resource. az disk create -g MyResourceGroup -n MyDisk --size-gb 10 --network-access-policy AllowPrivate --disk-access MyD Create a disk from the blob URI for VM guest state VHD. az disk create -g MyResourceGroup -n MyDisk --size-gb 10 --security-data-uri GuestStateDiskVhdUri --security-ty Create a standard disk for uploading blobs. az disk create -g MyResourceGroup -n MyDisk --upload-size-bytes 20972032 --upload-type Upload https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 4 of 26 Create an OS disk for uploading along with VM guest state. az disk create -g MyResourceGroup -n MyDisk --upload-size-bytes 20972032 --upload-type UploadWithSecurityData - --name -n The name of the managed disk. --resource-group -g Name of resource group. You can configure the default group using az configure --defaults group= . The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully. --accelerated-network Preview Customers can set on Managed Disks or Snapshots to enable the accelerated networking if the OS disk image support. Property Value Accepted values: false, true --action-on-disk-delay Determine on how to handle disks with slow I/O. Property Value Accepted values: AutomaticReattach --architecture CPU architecture. Property Value Accepted values: Arm64, x64 --data-access-auth-mode Specify the auth mode when exporting or uploading to a disk or snapshot. https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 5 of 26 Property Value Accepted values: AzureActiveDirectory, None --disk-access Name or ID of the disk access resource for using private endpoints on disks. --disk-encryption-set Name or ID of disk encryption set that is used to encrypt the disk. --disk-iops-read-only The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes. --disk-iops-read-write The number of IOPS allowed for this disk. Only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. --disk-mbps-read-only The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. --disk-mbps-read-write The bandwidth allowed for this disk. Only settable for UltraSSD disks. MBps means millions of bytes per second with ISO notation of powers of 10. --edge-zone The name of edge zone. --enable-bursting Enable on-demand bursting beyond the provisioned performance target of the disk. On-demand bursting is disabled by default, and it does not apply to Ultra disks. Property Value Accepted values: false, true --encryption-type Encryption type. EncryptionAtRestWithPlatformKey: Disk is encrypted with XStore managed key at rest. It is the default encryption type. EncryptionAtRestWithCustomerKey: Disk is encrypted with Customer managed key at https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 6 of 26 rest. Property Value Accepted values: EncryptionAtRestWithCustomerKey, EncryptionAtRestWithPlatformAndCustomerKeys, EncryptionAtRestWithPlatformKey --gallery-image-reference ID of the Compute, Shared or Community Gallery image version from which to create a disk. For details about valid format, please refer to the help sample. --gallery-image-reference-lun If 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. For OS disks, this field is null. --hyper-v-generation The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Property Value Accepted values: V1, V2 --image-reference ID or URN (publisher:offer:sku:version) of the image from which to create a disk. --image-reference-lun If 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. For OS disks, this field is null. --location -l Location. Values from: az account list-locations . You can configure the default location using az configure --defaults location= . If location is not specified and no default location specified, location will be automatically set as same as the resource group. --logical-sector-size Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. --max-shares The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time. https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 7 of 26 --network-access-policy Policy for accessing the disk via network. Property Value Accepted values: AllowAll, AllowPrivate, DenyAll --no-wait Do not wait for the long-running operation to finish. Property Value Default value: False --optimized-for-frequent-attach Setting 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. This property should not be set for disks that are not detached and attached frequently as it causes the disks to not align with the fault domain of the virtual machine. Property Value Accepted values: false, true --os-type The Operating System type of the Disk. Property Value Accepted values: Linux, Windows --performance-plus Set this flag to true to get a boost on the performance target of the disk deployed. This flag can only be set on disk creation time and cannot be disabled after enabled. Property Value Accepted values: false, true --public-network-access Preview https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 8 of 26 Customers can set on Managed Disks or Snapshots to control the export policy on the disk. Property Value Accepted values: Disabled, Enabled --secure-vm-disk-encryption-set Name or ID of disk encryption set created with ConfidentialVmEncryptedWithCustomerKey encryption type. --security-data-uri Please specify the blob URI of VHD to be imported into VM guest state. --security-metadata-uri Specify the blob URI to be imported into VM metadata for Confidential VM. --security-option --supported-security-option Refer to the security capability of the disk supported to create a Trusted launch or Confidential VM. Property Value Accepted values: TrustedLaunchAndConfidentialVMSupported, TrustedLaunchSupported --security-type The security type of the VM. Applicable for OS disks only. Property Value Accepted values: ConfidentialVM_DiskEncryptedWithCustomerKey, ConfidentialVM_DiskEncryptedWithPlatformKey, ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey, Standard, TrustedLaunch --size-gb -z Size in GB. Max size: 4095 GB (certain preview disks can be larger). --sku Underlying storage SKU. Property Value Default value: Premium_LRS https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 9 of 26 Property Value Accepted values: PremiumV2_LRS, Premium_LRS, Premium_ZRS, StandardSSD_LRS, StandardSSD_ZRS, Standard_LRS, UltraSSD_LRS --source Source to create the disk/snapshot from, including unmanaged blob uri, managed disk id or name, or snapshot id or name. --source-storage-account-id Used when source blob is in a different subscription. --support-hibernation Indicate the OS on a disk supports hibernation. Property Value Accepted values: false, true --tags Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags. --tier --upload-size-bytes The size (in bytes) of the contents of the upload including the VHD footer. Min value: 20972032. Max value: 35183298347520. This parameter is required if --upload-type is specified. --upload-type Create the disk for upload scenario. 'Upload' is for Standard disk only upload. 'UploadWithSecurityData' is for OS Disk upload along with VM Guest State. Please note the 'UploadWithSecurityData' is not valid for data disk upload, it only to be used for OS Disk upload at present. Property Value Accepted values: Upload, UploadWithSecurityData --zone Availability zone into which to provision the resource. Global Parameters https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 10 of 26 Delete a managed disk. az disk delete [--disk-name --name] [--ids] [--no-wait {0, 1, f, false, n, no, t, true, y, yes}] [--resource-group] [--subscription] [--yes] Delete a managed disk. az disk delete --name MyManagedDisk --resource-group MyResourceGroup The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully. --disk-name --name -n The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. Property Value Parameter group: Resource Id Arguments --ids One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments. Property Value Parameter group: Resource Id Arguments --no-wait Do not wait for the long-running operation to finish. Property Value Accepted values: 0, 1, f, false, n, no, t, true, y, yes --resource-group -g Name of resource group. You can configure the default group using az configure --defaults group= . https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 11 of 26 Property Value Parameter group: Resource Id Arguments --subscription Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID . Property Value Parameter group: Resource Id Arguments --yes -y Do not prompt for confirmation. Property Value Default value: False Global Parameters Grant a resource access to a managed disk. az disk grant-access --duration-in-seconds [--access --access-level {None, Read, Write}] [--disk-name --name] [--ids] [--no-wait {0, 1, f, false, n, no, t, true, y, yes}] [--resource-group] [--secure-vm-guest-state-sas {0, 1, f, false, n, no, t, true, y, yes}] [--subscription] Grant a resource read access to a managed disk. az disk grant-access --access-level Read --duration-in-seconds 3600 --name MyManagedDisk --resource-group MyRes Grant a resource read access to a disk to generate access SAS and security data access SAS az disk grant-access --access-level Read --duration-in-seconds 3600 --name MyDisk --resource-group MyResourceGr --duration-in-seconds Time duration in seconds until the SAS access expires. https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 12 of 26 Property Value Parameter group: GrantAccessData Arguments The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully. --access --access-level Access level. Property Value Parameter group: GrantAccessData Arguments Default value: Read Accepted values: None, Read, Write --disk-name --name -n The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. Property Value Parameter group: Resource Id Arguments --ids One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments. Property Value Parameter group: Resource Id Arguments --no-wait Do not wait for the long-running operation to finish. Property Value Accepted values: 0, 1, f, false, n, no, t, true, y, yes --resource-group -g Name of resource group. You can configure the default group using az configure --defaults group= . https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 13 of 26 Property Value Parameter group: Resource Id Arguments --secure-vm-guest-state-sas -s Get SAS on managed disk with VM guest state. It will be used by default when the create option of disk is 'secureOSUpload'. Property Value Parameter group: GrantAccessData Arguments Accepted values: 0, 1, f, false, n, no, t, true, y, yes --subscription Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID . Property Value Parameter group: Resource Id Arguments Global Parameters List managed disks. az disk list --resource-group [--max-items] [--next-token] --resource-group -g Name of resource group. You can configure the default group using az configure --defaults group= . The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully. --max-items Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in -- next-token argument of a subsequent command. Property Value Parameter group: Pagination Arguments https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 14 of 26 --next-token Token to specify where to start paginating. This is the token value from a previously truncated response. Property Value Parameter group: Pagination Arguments Global Parameters Revoke a resource's read access to a managed disk. az disk revoke-access [--disk-name --name] [--ids] [--no-wait {0, 1, f, false, n, no, t, true, y, yes}] [--resource-group] [--subscription] Revoke a resource's read access to a managed disk. az disk revoke-access --ids $id Revoke a resource's read access to a managed disk. az disk revoke-access --name MyManagedDisk --resource-group MyResourceGroup The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully. --disk-name --name -n The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. Property Value Parameter group: Resource Id Arguments --ids One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments. Property Value Parameter group: Resource Id Arguments https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 15 of 26 --no-wait Do not wait for the long-running operation to finish. Property Value Accepted values: 0, 1, f, false, n, no, t, true, y, yes --resource-group -g Name of resource group. You can configure the default group using az configure --defaults group= . Property Value Parameter group: Resource Id Arguments --subscription Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID . Property Value Parameter group: Resource Id Arguments Global Parameters Get information about a disk. az disk show [--disk-name --name] [--ids] [--resource-group] [--subscription] The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully. --disk-name --name -n The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. Property Value Parameter group: Resource Id Arguments --ids https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 16 of 26 One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments. Property Value Parameter group: Resource Id Arguments --resource-group -g Name of resource group. You can configure the default group using az configure --defaults group= . Property Value Parameter group: Resource Id Arguments --subscription Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID . Property Value Parameter group: Resource Id Arguments Global Parameters Update a managed disk. az disk update [--accelerated-network {0, 1, f, false, n, no, t, true, y, yes}] [--action-on-disk-delay {AutomaticReattach, None}] [--add] [--architecture {Arm64, x64}] [--bursting-enabled --enable-bursting {0, 1, f, false, n, no, t, true, y, yes}] [--data-access-auth-mode {AzureActiveDirectory, None}] [--disk-access] [--disk-encryption-set] [--disk-iops-read-only] [--disk-iops-read-write] [--disk-mbps-read-only] [--disk-mbps-read-write] [--disk-name --name] [--disk-size-gb --size-gb] [--encryption-type {EncryptionAtRestWithCustomerKey, EncryptionAtRestWithPlatformAndCustomerKeys, [--force-string {0, 1, f, false, n, no, t, true, y, yes}] [--ids] [--max-shares] [--network-access-policy {AllowAll, AllowPrivate, DenyAll}] [--no-wait {0, 1, f, false, n, no, t, true, y, yes}] [--public-network-access {Disabled, Enabled}] https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 17 of 26 [--remove] [--resource-group] [--security-option --supported-security-option {TrustedLaunchAndConfidentialVMSupported, TrustedL [--set] [--sku {PremiumV2_LRS, Premium_LRS, Premium_ZRS, StandardSSD_LRS, StandardSSD_ZRS, Standard_LRS, [--subscription] Update a managed disk and associate it with a disk access resource. az disk update --name MyManagedDisk --resource-group MyResourceGroup --network-access-policy AllowPrivate --dis Update a managed disk. az disk update --name MyManagedDisk --resource-group MyResourceGroup --size-gb 20 The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully. --accelerated-network Preview Customers can set on Managed Disks or Snapshots to enable the accelerated networking if the OS disk image support. Property Value Parameter group: SupportedCapabilities Arguments Accepted values: 0, 1, f, false, n, no, t, true, y, yes --action-on-disk-delay Determine on how to handle disks with slow I/O. Property Value Parameter group: AvailabilityPolicy Arguments Accepted values: AutomaticReattach, None --add Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty . https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 18 of 26 Property Value Parameter group: Generic Update Arguments --architecture CPU architecture supported by an OS disk. Property Value Parameter group: SupportedCapabilities Arguments Accepted values: Arm64, x64 --bursting-enabled --enable-bursting Enable on-demand bursting beyond the provisioned performance target of the disk. On-demand bursting is disabled by default, and it does not apply to Ultra disks. Property Value Parameter group: Properties Arguments Accepted values: 0, 1, f, false, n, no, t, true, y, yes --data-access-auth-mode Specify the auth mode when exporting or uploading to a disk or snapshot. Property Value Parameter group: Properties Arguments Accepted values: AzureActiveDirectory, None --disk-access Name or ID of the disk access resource for using private endpoints on disks. --disk-encryption-set Name or ID of disk encryption set that is used to encrypt the disk. --disk-iops-read-only The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes. https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 19 of 26 Property Value Parameter group: Properties Arguments --disk-iops-read-write The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. Property Value Parameter group: Properties Arguments --disk-mbps-read-only The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. Property Value Parameter group: Properties Arguments --disk-mbps-read-write The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. Property Value Parameter group: Properties Arguments --disk-name --name -n The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. Property Value Parameter group: Resource Id Arguments --disk-size-gb --size-gb -z Size in GB. Max size: 4095 GB (certain preview disks can be larger). Property Value Parameter group: Properties Arguments https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 20 of 26 --encryption-type Encryption type. Property Value Parameter group: Encryption Arguments Accepted values: EncryptionAtRestWithCustomerKey, EncryptionAtRestWithPlatformAndCustomerKeys, EncryptionAtRestWithPlatformKey --force-string When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON. Property Value Parameter group: Generic Update Arguments Accepted values: 0, 1, f, false, n, no, t, true, y, yes --ids One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments. Property Value Parameter group: Resource Id Arguments --max-shares The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time. Property Value Parameter group: Properties Arguments --network-access-policy Policy for accessing the disk via network. Property Value Parameter group: Properties Arguments https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 21 of 26 Property Value Accepted values: AllowAll, AllowPrivate, DenyAll --no-wait Do not wait for the long-running operation to finish. Property Value Accepted values: 0, 1, f, false, n, no, t, true, y, yes --public-network-access Preview Customers can set on Managed Disks or Snapshots to control the export policy on the disk. Property Value Parameter group: Properties Arguments Accepted values: Disabled, Enabled --remove Remove a property or an element from a list. Example: --remove property.list OR -- remove propertyToRemove . Property Value Parameter group: Generic Update Arguments --resource-group -g Name of resource group. You can configure the default group using az configure --defaults group= . Property Value Parameter group: Resource Id Arguments --security-option --supported-security-option Refer to the security capability of the disk supported to create a Trusted launch or Confidential VM. https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 22 of 26 Property Value Parameter group: SupportedCapabilities Arguments Accepted values: TrustedLaunchAndConfidentialVMSupported, TrustedLaunchSupported --set Update an object by specifying a property path and value to set. Example: --set property1.property2= . Property Value Parameter group: Generic Update Arguments --sku Underlying storage SKU. Property Value Accepted values: PremiumV2_LRS, Premium_LRS, Premium_ZRS, StandardSSD_LRS, StandardSSD_ZRS, Standard_LRS, UltraSSD_LRS --subscription Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID . Property Value Parameter group: Resource Id Arguments Global Parameters Place the CLI in a waiting state until a condition is met. az disk wait [--created] [--custom] [--deleted] [--disk-name --name] [--exists] [--ids] [--interval] [--resource-group] [--subscription] [--timeout] [--updated] https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 23 of 26 The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully. --created Wait until created with 'provisioningState' at 'Succeeded'. Property Value Parameter group: Wait Condition Arguments Default value: False --custom Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']. Property Value Parameter group: Wait Condition Arguments --deleted Wait until deleted. Property Value Parameter group: Wait Condition Arguments Default value: False --disk-name --name -n The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. Property Value Parameter group: Resource Id Arguments --exists Wait until the resource exists. Property Value Parameter group: Wait Condition Arguments https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 24 of 26 Property Value Default value: False --ids One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments. Property Value Parameter group: Resource Id Arguments --interval Polling interval in seconds. Property Value Parameter group: Wait Condition Arguments Default value: 30 --resource-group -g Name of resource group. You can configure the default group using az configure --defaults group= . Property Value Parameter group: Resource Id Arguments --subscription Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID . Property Value Parameter group: Resource Id Arguments --timeout Maximum wait in seconds. Property Value Parameter group: Wait Condition Arguments https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 25 of 26 Property Value Default value: 3600 --updated Wait until updated with provisioningState at 'Succeeded'. Property Value Parameter group: Wait Condition Arguments Default value: False Global Parameters Source: https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest Page 26 of 26