{
	"id": "5347a0c6-1c9b-4abc-961b-baeca142476c",
	"created_at": "2026-04-06T00:21:34.788033Z",
	"updated_at": "2026-04-10T03:21:44.733035Z",
	"deleted_at": null,
	"sha1_hash": "02ede167c4cf5a9a717bf9b9ba4b9ffb4a92f6df",
	"title": "az disk",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 132267,
	"plain_text": "az disk\r\nBy mikefrobbins\r\nArchived: 2026-04-05 21:10:42 UTC\r\nIn this article\r\n1. Commands\r\n2. az disk create\r\n3. az disk delete\r\n4. az disk grant-access\r\n5. az disk list\r\n6. az disk revoke-access\r\n7. az disk show\r\n8. az disk update\r\n9. az disk wait\r\nManage Azure Managed Disks.\r\nAzure Virtual Machines use disks as a place to store an operating system, applications, and data. All Azure virtual\r\nmachines have at least two disks: An operating system disk, and a temporary disk. The operating system disk is\r\ncreated from an image, and both the operating system disk and the image are actually virtual hard disks (VHDs)\r\nstored in an Azure storage account. Virtual machines also can have one or more data disks, that are also stored as\r\nVHDs. Azure Unmanaged Data Disks have a maximum size of 4095 GB. To use disks larger than 4095 GB use\r\nAzure Managed Disks.\r\nName Description Type Status\r\naz disk config Manage disk config. Core GA\r\naz disk config update Update disk config. Core GA\r\naz disk create Create a managed disk. Core GA\r\naz disk delete Delete a managed disk. Core GA\r\naz disk grant-access Grant a resource access to a managed disk. Core GA\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 1 of 26\n\nName Description Type Status\r\naz disk list List managed disks. Core GA\r\naz disk revoke-access Revoke a resource's read access to a managed disk. Core GA\r\naz disk show Get information about a disk. Core GA\r\naz disk update Update a managed disk. Core GA\r\naz disk wait Place the CLI in a waiting state until a condition is met. Core GA\r\nCreate a managed disk.\r\naz disk create --name\r\n --resource-group\r\n [--accelerated-network {false, true}]\r\n [--action-on-disk-delay {AutomaticReattach}]\r\n [--architecture {Arm64, x64}]\r\n [--data-access-auth-mode {AzureActiveDirectory, None}]\r\n [--disk-access]\r\n [--disk-encryption-set]\r\n [--disk-iops-read-only]\r\n [--disk-iops-read-write]\r\n [--disk-mbps-read-only]\r\n [--disk-mbps-read-write]\r\n [--edge-zone]\r\n [--enable-bursting {false, true}]\r\n [--encryption-type {EncryptionAtRestWithCustomerKey, EncryptionAtRestWithPlatformAndCustomerKeys,\r\n [--gallery-image-reference]\r\n [--gallery-image-reference-lun]\r\n [--hyper-v-generation {V1, V2}]\r\n [--image-reference]\r\n [--image-reference-lun]\r\n [--location]\r\n [--logical-sector-size]\r\n [--max-shares]\r\n [--network-access-policy {AllowAll, AllowPrivate, DenyAll}]\r\n [--no-wait]\r\n [--optimized-for-frequent-attach {false, true}]\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 2 of 26\n\n[--os-type {Linux, Windows}]\r\n [--performance-plus {false, true}]\r\n [--public-network-access {Disabled, Enabled}]\r\n [--secure-vm-disk-encryption-set]\r\n [--security-data-uri]\r\n [--security-metadata-uri]\r\n [--security-option --supported-security-option {TrustedLaunchAndConfidentialVMSupported, TrustedL\r\n [--security-type {ConfidentialVM_DiskEncryptedWithCustomerKey, ConfidentialVM_DiskEncryptedWithPl\r\n [--size-gb]\r\n [--sku {PremiumV2_LRS, Premium_LRS, Premium_ZRS, StandardSSD_LRS, StandardSSD_ZRS, Standard_LRS,\r\n [--source]\r\n [--source-storage-account-id]\r\n [--support-hibernation {false, true}]\r\n [--tags]\r\n [--tier]\r\n [--upload-size-bytes]\r\n [--upload-type {Upload, UploadWithSecurityData}]\r\n [--zone]\r\nCreate a managed disk by importing from a blob uri.\r\naz disk create -g MyResourceGroup -n MyDisk --source https://vhd1234.blob.core.windows.net/vhds/osdisk1234.vhd\r\nCreate an empty managed disk.\r\naz disk create -g MyResourceGroup -n MyDisk --size-gb 10\r\nCreate an empty managed disk with bursting enabled.\r\naz disk create -g MyResourceGroup -n MyDisk --size-gb 1024 --location centraluseuap --enable-bursting\r\nCreate a managed disk by copying an existing disk or snapshot.\r\naz disk create -g MyResourceGroup -n MyDisk2 --source MyDisk\r\nCreate a disk in an availability zone in the region of \"East US 2\"\r\naz disk create -g MyResourceGroup -n MyDisk --size-gb 10 --location eastus2 --zone 1\r\nCreate a disk from image.\r\naz 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\r\nPage 3 of 26\n\nCreate a disk from the OS Disk of a compute gallery image version\r\naz disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /subscriptions/00000000-0000-0000-0000-00\r\nCreate a disk from the OS Disk of the latest version in a compute gallery image\r\naz disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /subscriptions/00000000-0000-0000-0000-00\r\nCreate a disk from the OS Disk of a shared gallery image version\r\naz disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /SharedGalleries/sharedGalleryUniqueName/\r\nCreate a disk from the OS Disk of a community gallery image version\r\naz disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /CommunityGalleries/communityGalleryPubli\r\nCreate a disk from the Data Disk of a gallery image\r\naz disk create -g MyResourceGroup -n MyDisk --gallery-image-reference /subscriptions/00000000-0000-0000-0000-00\r\nCreate a disk with total number of IOPS and total throughput (MBps) limitation.\r\naz disk create -g MyResourceGroup -n MyDisk --size-gb 10 --sku UltraSSD_LRS --disk-iops-read-only 200 --disk-mb\r\nCreate a disk and specify maximum number of VMs that can attach to the disk at the same time.\r\naz disk create -g MyResourceGroup -n MyDisk --size-gb 256 --max-shares 2 -l centraluseuap\r\nCreate a disk and associate it with a disk access resource.\r\naz disk create -g MyResourceGroup -n MyDisk --size-gb 10 --network-access-policy AllowPrivate --disk-access MyD\r\nCreate a disk from the blob URI for VM guest state VHD.\r\naz disk create -g MyResourceGroup -n MyDisk --size-gb 10 --security-data-uri GuestStateDiskVhdUri --security-ty\r\nCreate a standard disk for uploading blobs.\r\naz disk create -g MyResourceGroup -n MyDisk --upload-size-bytes 20972032 --upload-type Upload\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 4 of 26\n\nCreate an OS disk for uploading along with VM guest state.\r\naz disk create -g MyResourceGroup -n MyDisk --upload-size-bytes 20972032 --upload-type UploadWithSecurityData -\r\n--name -n\r\nThe name of the managed disk.\r\n--resource-group -g\r\nName of resource group. You can configure the default group using az configure --defaults group=\u003cname\u003e .\r\nThe following parameters are optional, but depending on the context, one or more might become required for the\r\ncommand to execute successfully.\r\n--accelerated-network\r\nPreview\r\nCustomers can set on Managed Disks or Snapshots to enable the accelerated networking if the OS disk image\r\nsupport.\r\nProperty Value\r\nAccepted values: false, true\r\n--action-on-disk-delay\r\nDetermine on how to handle disks with slow I/O.\r\nProperty Value\r\nAccepted values: AutomaticReattach\r\n--architecture\r\nCPU architecture.\r\nProperty Value\r\nAccepted values: Arm64, x64\r\n--data-access-auth-mode\r\nSpecify the auth mode when exporting or uploading to a disk or snapshot.\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 5 of 26\n\nProperty Value\r\nAccepted values: AzureActiveDirectory, None\r\n--disk-access\r\nName or ID of the disk access resource for using private endpoints on disks.\r\n--disk-encryption-set\r\nName or ID of disk encryption set that is used to encrypt the disk.\r\n--disk-iops-read-only\r\nThe total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One\r\noperation can transfer between 4k and 256k bytes.\r\n--disk-iops-read-write\r\nThe number of IOPS allowed for this disk. Only settable for UltraSSD disks. One operation can transfer between\r\n4k and 256k bytes.\r\n--disk-mbps-read-only\r\nThe total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps\r\nmeans millions of bytes per second - MB here uses the ISO notation, of powers of 10.\r\n--disk-mbps-read-write\r\nThe bandwidth allowed for this disk. Only settable for UltraSSD disks. MBps means millions of bytes per second\r\nwith ISO notation of powers of 10.\r\n--edge-zone\r\nThe name of edge zone.\r\n--enable-bursting\r\nEnable on-demand bursting beyond the provisioned performance target of the disk. On-demand bursting is\r\ndisabled by default, and it does not apply to Ultra disks.\r\nProperty Value\r\nAccepted values: false, true\r\n--encryption-type\r\nEncryption type. EncryptionAtRestWithPlatformKey: Disk is encrypted with XStore managed key at rest. It is the\r\ndefault encryption type. EncryptionAtRestWithCustomerKey: Disk is encrypted with Customer managed key at\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 6 of 26\n\nrest.\r\nProperty Value\r\nAccepted\r\nvalues:\r\nEncryptionAtRestWithCustomerKey, EncryptionAtRestWithPlatformAndCustomerKeys,\r\nEncryptionAtRestWithPlatformKey\r\n--gallery-image-reference\r\nID of the Compute, Shared or Community Gallery image version from which to create a disk. For details about\r\nvalid format, please refer to the help sample.\r\n--gallery-image-reference-lun\r\nIf the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image\r\nto use. For OS disks, this field is null.\r\n--hyper-v-generation\r\nThe hypervisor generation of the Virtual Machine. Applicable to OS disks only.\r\nProperty Value\r\nAccepted values: V1, V2\r\n--image-reference\r\nID or URN (publisher:offer:sku:version) of the image from which to create a disk.\r\n--image-reference-lun\r\nIf the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image\r\nto use. For OS disks, this field is null.\r\n--location -l\r\nLocation. Values from: az account list-locations . You can configure the default location using az configure\r\n--defaults location=\u003clocation\u003e . If location is not specified and no default location specified, location will be\r\nautomatically set as same as the resource group.\r\n--logical-sector-size\r\nLogical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.\r\n--max-shares\r\nThe maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk\r\nthat can be mounted on multiple VMs at the same time.\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 7 of 26\n\n--network-access-policy\r\nPolicy for accessing the disk via network.\r\nProperty Value\r\nAccepted values: AllowAll, AllowPrivate, DenyAll\r\n--no-wait\r\nDo not wait for the long-running operation to finish.\r\nProperty Value\r\nDefault value: False\r\n--optimized-for-frequent-attach\r\nSetting this property to true improves reliability and performance of data disks that are frequently (more than 5\r\ntimes a day) by detached from one virtual machine and attached to another. This property should not be set for\r\ndisks that are not detached and attached frequently as it causes the disks to not align with the fault domain of the\r\nvirtual machine.\r\nProperty Value\r\nAccepted values: false, true\r\n--os-type\r\nThe Operating System type of the Disk.\r\nProperty Value\r\nAccepted values: Linux, Windows\r\n--performance-plus\r\nSet this flag to true to get a boost on the performance target of the disk deployed. This flag can only be set on disk\r\ncreation time and cannot be disabled after enabled.\r\nProperty Value\r\nAccepted values: false, true\r\n--public-network-access\r\nPreview\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 8 of 26\n\nCustomers can set on Managed Disks or Snapshots to control the export policy on the disk.\r\nProperty Value\r\nAccepted values: Disabled, Enabled\r\n--secure-vm-disk-encryption-set\r\nName or ID of disk encryption set created with ConfidentialVmEncryptedWithCustomerKey encryption type.\r\n--security-data-uri\r\nPlease specify the blob URI of VHD to be imported into VM guest state.\r\n--security-metadata-uri\r\nSpecify the blob URI to be imported into VM metadata for Confidential VM.\r\n--security-option --supported-security-option\r\nRefer to the security capability of the disk supported to create a Trusted launch or Confidential VM.\r\nProperty Value\r\nAccepted values: TrustedLaunchAndConfidentialVMSupported, TrustedLaunchSupported\r\n--security-type\r\nThe security type of the VM. Applicable for OS disks only.\r\nProperty Value\r\nAccepted\r\nvalues:\r\nConfidentialVM_DiskEncryptedWithCustomerKey,\r\nConfidentialVM_DiskEncryptedWithPlatformKey,\r\nConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey, Standard, TrustedLaunch\r\n--size-gb -z\r\nSize in GB. Max size: 4095 GB (certain preview disks can be larger).\r\n--sku\r\nUnderlying storage SKU.\r\nProperty Value\r\nDefault value: Premium_LRS\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 9 of 26\n\nProperty Value\r\nAccepted\r\nvalues:\r\nPremiumV2_LRS, Premium_LRS, Premium_ZRS, StandardSSD_LRS, StandardSSD_ZRS,\r\nStandard_LRS, UltraSSD_LRS\r\n--source\r\nSource to create the disk/snapshot from, including unmanaged blob uri, managed disk id or name, or snapshot id\r\nor name.\r\n--source-storage-account-id\r\nUsed when source blob is in a different subscription.\r\n--support-hibernation\r\nIndicate the OS on a disk supports hibernation.\r\nProperty Value\r\nAccepted values: false, true\r\n--tags\r\nSpace-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags.\r\n--tier\r\n--upload-size-bytes\r\nThe size (in bytes) of the contents of the upload including the VHD footer. Min value: 20972032. Max value:\r\n35183298347520. This parameter is required if --upload-type is specified.\r\n--upload-type\r\nCreate the disk for upload scenario. 'Upload' is for Standard disk only upload. 'UploadWithSecurityData' is for OS\r\nDisk upload along with VM Guest State. Please note the 'UploadWithSecurityData' is not valid for data disk\r\nupload, it only to be used for OS Disk upload at present.\r\nProperty Value\r\nAccepted values: Upload, UploadWithSecurityData\r\n--zone\r\nAvailability zone into which to provision the resource.\r\nGlobal Parameters\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 10 of 26\n\nDelete a managed disk.\r\naz disk delete [--disk-name --name]\r\n [--ids]\r\n [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]\r\n [--resource-group]\r\n [--subscription]\r\n [--yes]\r\nDelete a managed disk.\r\naz disk delete --name MyManagedDisk --resource-group MyResourceGroup\r\nThe following parameters are optional, but depending on the context, one or more might become required for the\r\ncommand to execute successfully.\r\n--disk-name --name -n\r\nThe name of the managed disk that is being created. The name can't be changed after the disk is created.\r\nSupported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--ids\r\nOne or more resource IDs (space-delimited). It should be a complete resource ID containing all information of\r\n'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--no-wait\r\nDo not wait for the long-running operation to finish.\r\nProperty Value\r\nAccepted values: 0, 1, f, false, n, no, t, true, y, yes\r\n--resource-group -g\r\nName of resource group. You can configure the default group using az configure --defaults group=\u003cname\u003e .\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 11 of 26\n\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--subscription\r\nName or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID .\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--yes -y\r\nDo not prompt for confirmation.\r\nProperty Value\r\nDefault value: False\r\nGlobal Parameters\r\nGrant a resource access to a managed disk.\r\naz disk grant-access --duration-in-seconds\r\n [--access --access-level {None, Read, Write}]\r\n [--disk-name --name]\r\n [--ids]\r\n [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]\r\n [--resource-group]\r\n [--secure-vm-guest-state-sas {0, 1, f, false, n, no, t, true, y, yes}]\r\n [--subscription]\r\nGrant a resource read access to a managed disk.\r\naz disk grant-access --access-level Read --duration-in-seconds 3600 --name MyManagedDisk --resource-group MyRes\r\nGrant a resource read access to a disk to generate access SAS and security data access SAS\r\naz disk grant-access --access-level Read --duration-in-seconds 3600 --name MyDisk --resource-group MyResourceGr\r\n--duration-in-seconds\r\nTime duration in seconds until the SAS access expires.\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 12 of 26\n\nProperty Value\r\nParameter group: GrantAccessData Arguments\r\nThe following parameters are optional, but depending on the context, one or more might become required for the\r\ncommand to execute successfully.\r\n--access --access-level\r\nAccess level.\r\nProperty Value\r\nParameter group: GrantAccessData Arguments\r\nDefault value: Read\r\nAccepted values: None, Read, Write\r\n--disk-name --name -n\r\nThe name of the managed disk that is being created. The name can't be changed after the disk is created.\r\nSupported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--ids\r\nOne or more resource IDs (space-delimited). It should be a complete resource ID containing all information of\r\n'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--no-wait\r\nDo not wait for the long-running operation to finish.\r\nProperty Value\r\nAccepted values: 0, 1, f, false, n, no, t, true, y, yes\r\n--resource-group -g\r\nName of resource group. You can configure the default group using az configure --defaults group=\u003cname\u003e .\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 13 of 26\n\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--secure-vm-guest-state-sas -s\r\nGet SAS on managed disk with VM guest state. It will be used by default when the create option of disk is\r\n'secureOSUpload'.\r\nProperty Value\r\nParameter group: GrantAccessData Arguments\r\nAccepted values: 0, 1, f, false, n, no, t, true, y, yes\r\n--subscription\r\nName or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID .\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\nGlobal Parameters\r\nList managed disks.\r\naz disk list --resource-group\r\n [--max-items]\r\n [--next-token]\r\n--resource-group -g\r\nName of resource group. You can configure the default group using az configure --defaults group=\u003cname\u003e .\r\nThe following parameters are optional, but depending on the context, one or more might become required for the\r\ncommand to execute successfully.\r\n--max-items\r\nTotal number of items to return in the command's output. If the total number of items available is more than the\r\nvalue specified, a token is provided in the command's output. To resume pagination, provide the token value in --\r\nnext-token argument of a subsequent command.\r\nProperty Value\r\nParameter group: Pagination Arguments\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 14 of 26\n\n--next-token\r\nToken to specify where to start paginating. This is the token value from a previously truncated response.\r\nProperty Value\r\nParameter group: Pagination Arguments\r\nGlobal Parameters\r\nRevoke a resource's read access to a managed disk.\r\naz disk revoke-access [--disk-name --name]\r\n [--ids]\r\n [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]\r\n [--resource-group]\r\n [--subscription]\r\nRevoke a resource's read access to a managed disk.\r\naz disk revoke-access --ids $id\r\nRevoke a resource's read access to a managed disk.\r\naz disk revoke-access --name MyManagedDisk --resource-group MyResourceGroup\r\nThe following parameters are optional, but depending on the context, one or more might become required for the\r\ncommand to execute successfully.\r\n--disk-name --name -n\r\nThe name of the managed disk that is being created. The name can't be changed after the disk is created.\r\nSupported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--ids\r\nOne or more resource IDs (space-delimited). It should be a complete resource ID containing all information of\r\n'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 15 of 26\n\n--no-wait\r\nDo not wait for the long-running operation to finish.\r\nProperty Value\r\nAccepted values: 0, 1, f, false, n, no, t, true, y, yes\r\n--resource-group -g\r\nName of resource group. You can configure the default group using az configure --defaults group=\u003cname\u003e .\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--subscription\r\nName or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID .\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\nGlobal Parameters\r\nGet information about a disk.\r\naz disk show [--disk-name --name]\r\n [--ids]\r\n [--resource-group]\r\n [--subscription]\r\nThe following parameters are optional, but depending on the context, one or more might become required for the\r\ncommand to execute successfully.\r\n--disk-name --name -n\r\nThe name of the managed disk that is being created. The name can't be changed after the disk is created.\r\nSupported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--ids\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 16 of 26\n\nOne or more resource IDs (space-delimited). It should be a complete resource ID containing all information of\r\n'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--resource-group -g\r\nName of resource group. You can configure the default group using az configure --defaults group=\u003cname\u003e .\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--subscription\r\nName or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID .\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\nGlobal Parameters\r\nUpdate a managed disk.\r\naz disk update [--accelerated-network {0, 1, f, false, n, no, t, true, y, yes}]\r\n [--action-on-disk-delay {AutomaticReattach, None}]\r\n [--add]\r\n [--architecture {Arm64, x64}]\r\n [--bursting-enabled --enable-bursting {0, 1, f, false, n, no, t, true, y, yes}]\r\n [--data-access-auth-mode {AzureActiveDirectory, None}]\r\n [--disk-access]\r\n [--disk-encryption-set]\r\n [--disk-iops-read-only]\r\n [--disk-iops-read-write]\r\n [--disk-mbps-read-only]\r\n [--disk-mbps-read-write]\r\n [--disk-name --name]\r\n [--disk-size-gb --size-gb]\r\n [--encryption-type {EncryptionAtRestWithCustomerKey, EncryptionAtRestWithPlatformAndCustomerKeys,\r\n [--force-string {0, 1, f, false, n, no, t, true, y, yes}]\r\n [--ids]\r\n [--max-shares]\r\n [--network-access-policy {AllowAll, AllowPrivate, DenyAll}]\r\n [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]\r\n [--public-network-access {Disabled, Enabled}]\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 17 of 26\n\n[--remove]\r\n [--resource-group]\r\n [--security-option --supported-security-option {TrustedLaunchAndConfidentialVMSupported, TrustedL\r\n [--set]\r\n [--sku {PremiumV2_LRS, Premium_LRS, Premium_ZRS, StandardSSD_LRS, StandardSSD_ZRS, Standard_LRS,\r\n [--subscription]\r\nUpdate a managed disk and associate it with a disk access resource.\r\naz disk update --name MyManagedDisk --resource-group MyResourceGroup --network-access-policy AllowPrivate --dis\r\nUpdate a managed disk.\r\naz disk update --name MyManagedDisk --resource-group MyResourceGroup --size-gb 20\r\nThe following parameters are optional, but depending on the context, one or more might become required for the\r\ncommand to execute successfully.\r\n--accelerated-network\r\nPreview\r\nCustomers can set on Managed Disks or Snapshots to enable the accelerated networking if the OS disk image\r\nsupport.\r\nProperty Value\r\nParameter group: SupportedCapabilities Arguments\r\nAccepted values: 0, 1, f, false, n, no, t, true, y, yes\r\n--action-on-disk-delay\r\nDetermine on how to handle disks with slow I/O.\r\nProperty Value\r\nParameter group: AvailabilityPolicy Arguments\r\nAccepted values: AutomaticReattach, None\r\n--add\r\nAdd an object to a list of objects by specifying a path and key value pairs. Example: --add\r\nproperty.listProperty \u003ckey=value, string or JSON string\u003e .\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 18 of 26\n\nProperty Value\r\nParameter group: Generic Update Arguments\r\n--architecture\r\nCPU architecture supported by an OS disk.\r\nProperty Value\r\nParameter group: SupportedCapabilities Arguments\r\nAccepted values: Arm64, x64\r\n--bursting-enabled --enable-bursting\r\nEnable on-demand bursting beyond the provisioned performance target of the disk. On-demand bursting is\r\ndisabled by default, and it does not apply to Ultra disks.\r\nProperty Value\r\nParameter group: Properties Arguments\r\nAccepted values: 0, 1, f, false, n, no, t, true, y, yes\r\n--data-access-auth-mode\r\nSpecify the auth mode when exporting or uploading to a disk or snapshot.\r\nProperty Value\r\nParameter group: Properties Arguments\r\nAccepted values: AzureActiveDirectory, None\r\n--disk-access\r\nName or ID of the disk access resource for using private endpoints on disks.\r\n--disk-encryption-set\r\nName or ID of disk encryption set that is used to encrypt the disk.\r\n--disk-iops-read-only\r\nThe total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One\r\noperation can transfer between 4k and 256k bytes.\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 19 of 26\n\nProperty Value\r\nParameter group: Properties Arguments\r\n--disk-iops-read-write\r\nThe number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between\r\n4k and 256k bytes.\r\nProperty Value\r\nParameter group: Properties Arguments\r\n--disk-mbps-read-only\r\nThe total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps\r\nmeans millions of bytes per second - MB here uses the ISO notation, of powers of 10.\r\nProperty Value\r\nParameter group: Properties Arguments\r\n--disk-mbps-read-write\r\nThe bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second -\r\nMB here uses the ISO notation, of powers of 10.\r\nProperty Value\r\nParameter group: Properties Arguments\r\n--disk-name --name -n\r\nThe name of the managed disk that is being created. The name can't be changed after the disk is created.\r\nSupported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--disk-size-gb --size-gb -z\r\nSize in GB. Max size: 4095 GB (certain preview disks can be larger).\r\nProperty Value\r\nParameter group: Properties Arguments\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 20 of 26\n\n--encryption-type\r\nEncryption type.\r\nProperty Value\r\nParameter\r\ngroup:\r\nEncryption Arguments\r\nAccepted\r\nvalues:\r\nEncryptionAtRestWithCustomerKey, EncryptionAtRestWithPlatformAndCustomerKeys,\r\nEncryptionAtRestWithPlatformKey\r\n--force-string\r\nWhen using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.\r\nProperty Value\r\nParameter group: Generic Update Arguments\r\nAccepted values: 0, 1, f, false, n, no, t, true, y, yes\r\n--ids\r\nOne or more resource IDs (space-delimited). It should be a complete resource ID containing all information of\r\n'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--max-shares\r\nThe maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk\r\nthat can be mounted on multiple VMs at the same time.\r\nProperty Value\r\nParameter group: Properties Arguments\r\n--network-access-policy\r\nPolicy for accessing the disk via network.\r\nProperty Value\r\nParameter group: Properties Arguments\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 21 of 26\n\nProperty Value\r\nAccepted values: AllowAll, AllowPrivate, DenyAll\r\n--no-wait\r\nDo not wait for the long-running operation to finish.\r\nProperty Value\r\nAccepted values: 0, 1, f, false, n, no, t, true, y, yes\r\n--public-network-access\r\nPreview\r\nCustomers can set on Managed Disks or Snapshots to control the export policy on the disk.\r\nProperty Value\r\nParameter group: Properties Arguments\r\nAccepted values: Disabled, Enabled\r\n--remove\r\nRemove a property or an element from a list. Example: --remove property.list \u003cindexToRemove\u003e OR --\r\nremove propertyToRemove .\r\nProperty Value\r\nParameter group: Generic Update Arguments\r\n--resource-group -g\r\nName of resource group. You can configure the default group using az configure --defaults group=\u003cname\u003e .\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--security-option --supported-security-option\r\nRefer to the security capability of the disk supported to create a Trusted launch or Confidential VM.\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 22 of 26\n\nProperty Value\r\nParameter group: SupportedCapabilities Arguments\r\nAccepted values: TrustedLaunchAndConfidentialVMSupported, TrustedLaunchSupported\r\n--set\r\nUpdate an object by specifying a property path and value to set. Example: --set property1.property2=\u003cvalue\u003e .\r\nProperty Value\r\nParameter group: Generic Update Arguments\r\n--sku\r\nUnderlying storage SKU.\r\nProperty Value\r\nAccepted\r\nvalues:\r\nPremiumV2_LRS, Premium_LRS, Premium_ZRS, StandardSSD_LRS, StandardSSD_ZRS,\r\nStandard_LRS, UltraSSD_LRS\r\n--subscription\r\nName or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID .\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\nGlobal Parameters\r\nPlace the CLI in a waiting state until a condition is met.\r\naz disk wait [--created]\r\n [--custom]\r\n [--deleted]\r\n [--disk-name --name]\r\n [--exists]\r\n [--ids]\r\n [--interval]\r\n [--resource-group]\r\n [--subscription]\r\n [--timeout]\r\n [--updated]\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 23 of 26\n\nThe following parameters are optional, but depending on the context, one or more might become required for the\r\ncommand to execute successfully.\r\n--created\r\nWait until created with 'provisioningState' at 'Succeeded'.\r\nProperty Value\r\nParameter group: Wait Condition Arguments\r\nDefault value: False\r\n--custom\r\nWait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress',\r\ninstanceView.statuses[?code=='PowerState/running'].\r\nProperty Value\r\nParameter group: Wait Condition Arguments\r\n--deleted\r\nWait until deleted.\r\nProperty Value\r\nParameter group: Wait Condition Arguments\r\nDefault value: False\r\n--disk-name --name -n\r\nThe name of the managed disk that is being created. The name can't be changed after the disk is created.\r\nSupported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--exists\r\nWait until the resource exists.\r\nProperty Value\r\nParameter group: Wait Condition Arguments\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 24 of 26\n\nProperty Value\r\nDefault value: False\r\n--ids\r\nOne or more resource IDs (space-delimited). It should be a complete resource ID containing all information of\r\n'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--interval\r\nPolling interval in seconds.\r\nProperty Value\r\nParameter group: Wait Condition Arguments\r\nDefault value: 30\r\n--resource-group -g\r\nName of resource group. You can configure the default group using az configure --defaults group=\u003cname\u003e .\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--subscription\r\nName or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID .\r\nProperty Value\r\nParameter group: Resource Id Arguments\r\n--timeout\r\nMaximum wait in seconds.\r\nProperty Value\r\nParameter group: Wait Condition Arguments\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 25 of 26\n\nProperty Value\r\nDefault value: 3600\r\n--updated\r\nWait until updated with provisioningState at 'Succeeded'.\r\nProperty Value\r\nParameter group: Wait Condition Arguments\r\nDefault value: False\r\nGlobal Parameters\r\nSource: https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nhttps://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest\r\nPage 26 of 26",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"references": [
		"https://learn.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest"
	],
	"report_names": [
		"disk?view=azure-cli-latest"
	],
	"threat_actors": [],
	"ts_created_at": 1775434894,
	"ts_updated_at": 1775791304,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/02ede167c4cf5a9a717bf9b9ba4b9ffb4a92f6df.pdf",
		"text": "https://archive.orkl.eu/02ede167c4cf5a9a717bf9b9ba4b9ffb4a92f6df.txt",
		"img": "https://archive.orkl.eu/02ede167c4cf5a9a717bf9b9ba4b9ffb4a92f6df.jpg"
	}
}