VirtualMachineDiskProperties Class
Specifies the properties of a managed disk that can be set at the time of implicit creation of the disk.
Constructor
VirtualMachineDiskProperties(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
tier
|
Performance tier of the disk (e.g., P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks. |
|
bursting_enabled
|
Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. |
|
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. |
|
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) 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. |
|
availability_policy
|
In the case of an availability or connectivity issue with the disk, specify the behavior of your VM. |
|
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. Applies to data disks only. |
|
network_access_policy
|
Policy for accessing the disk via network. Known values are: "AllowAll", "AllowPrivate", and "DenyAll". |
|
disk_access_id
|
Azure resource Id of the DiskAccess resource for using private endpoints on disks. |
|
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_m_bps_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. |
|
logical_sector_size
|
Logical sector size in bytes for Ultra Disks. Supported values are 512 and 4096. 4096 is the default. |
Attributes
availability_policy
In the case of an availability or connectivity issue with the disk, specify the behavior of your VM.
availability_policy: _models.DiskAvailabilityPolicy | None
bursting_enabled
Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.
bursting_enabled: bool | None
disk_access_id
Azure resource Id of the DiskAccess resource for using private endpoints on disks.
disk_access_id: str | None
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_only: int | None
disk_m_bps_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_m_bps_read_only: int | None
logical_sector_size
Logical sector size in bytes for Ultra Disks. Supported values are 512 and 4096. 4096 is the default.
logical_sector_size: int | None
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. Applies to data disks only.
max_shares: int | None
network_access_policy
"AllowAll", "AllowPrivate", and "DenyAll".
network_access_policy: str | _models.VirtualMachineDiskNetworkAccessPolicy | None
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) 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.
optimized_for_frequent_attach: bool | None
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.
performance_plus: bool | None
tier
Performance tier of the disk (e.g., P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
tier: str | None