VirtualMachineDiskProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the properties of a managed disk that can be set at the time of implicit creation of the disk.
public class VirtualMachineDiskProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.VirtualMachineDiskProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.VirtualMachineDiskProperties>
type VirtualMachineDiskProperties = class
interface IJsonModel<VirtualMachineDiskProperties>
interface IPersistableModel<VirtualMachineDiskProperties>
Public Class VirtualMachineDiskProperties
Implements IJsonModel(Of VirtualMachineDiskProperties), IPersistableModel(Of VirtualMachineDiskProperties)
- Inheritance
-
VirtualMachineDiskProperties
- Implements
Constructors
| Name | Description |
|---|---|
| VirtualMachineDiskProperties() |
Initializes a new instance of VirtualMachineDiskProperties. |
Properties
| Name | Description |
|---|---|
| AvailabilityActionOnDiskDelay |
Determines how to handle disks with slow I/O. |
| BurstingEnabled |
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. |
| DiskAccessId |
Azure resource Id of the DiskAccess resource for using private endpoints on disks. |
| DiskIopsReadOnly |
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. |
| DiskMBpsReadOnly |
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. |
| IsOptimizedForFrequentAttach |
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. |
| IsPerformancePlusEnabled |
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. |
| LogicalSectorSize |
Logical sector size in bytes for Ultra Disks. Supported values are 512 and 4096. 4096 is the default. |
| MaxShares |
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. |
| NetworkAccessPolicy |
Policy for accessing the disk via network. |
| 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. |