DiskUpdate Class

Definition

Disk update resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class DiskUpdate
[<Microsoft.Rest.Serialization.JsonTransformation>]
type DiskUpdate = class
Public Class DiskUpdate
Inheritance
DiskUpdate
Attributes

Constructors

DiskUpdate()

Initializes a new instance of the DiskUpdate class.

DiskUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, Encryption, NetworkAccessPolicy, String, String, IDictionary<String,String>, DiskSku)

Initializes a new instance of the DiskUpdate class.

Properties

DiskAccessId

Gets or sets ARM id of the DiskAccess resource for using private endpoints on disks.

DiskIOPSReadOnly

Gets or sets 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.

DiskIOPSReadWrite

Gets or sets the number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.

DiskMBpsReadOnly

Gets or sets 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.

DiskMBpsReadWrite

Gets or sets 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.

DiskSizeGB

Gets or sets if creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.

Encryption

Gets or sets encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.

EncryptionSettingsCollection

Gets or sets encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

MaxShares

Gets or sets 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.

NetworkAccessPolicy

Gets or sets possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'

OsType

Gets or sets the Operating System type. Possible values include: 'Windows', 'Linux'

Sku
Tags

Gets or sets resource tags

Tier

Gets or sets 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.

Methods

Validate()

Validate the object.

Applies to