Udostępnij za pośrednictwem


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, String, String, String, Nullable<Boolean>, PurchasePlan, IDictionary<String,String>, DiskSku)

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, String, String, String, Nullable<Boolean>, PurchasePlan, IDictionary<String,String>)
DiskUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, Encryption, String, String, String, Nullable<Boolean>, PurchasePlan, PropertyUpdatesInProgress, Nullable<Boolean>, IDictionary<String, String>, DiskSku)

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, String, String, String, Nullable<Boolean>, PurchasePlan, SupportedCapabilities, PropertyUpdatesInProgress, Nullable<Boolean>, String, IDictionary<String,String>, DiskSku)

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, String, String, String, Nullable<Boolean>, PurchasePlan, SupportedCapabilities, PropertyUpdatesInProgress, Nullable<Boolean>, String, String, IDictionary<String,String>, DiskSku)

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, String, String, String, Nullable<Boolean>, PurchasePlan, SupportedCapabilities, PropertyUpdatesInProgress, Nullable<Boolean>, String, String, Nullable<Boolean>, IDictionary<String, String>, DiskSku)

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, String, String, String, Nullable<Boolean>, PurchasePlan)

Initializes a new instance of the DiskUpdate class.

Properties

BurstingEnabled

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

DataAccessAuthMode

Gets or sets possible values include: 'AzureActiveDirectory', 'None'

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'

OptimizedForFrequentAttach

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

OsType

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

PropertyUpdatesInProgress

Gets properties of the disk for which update is pending.

PublicNetworkAccess

Gets or sets possible values include: 'Enabled', 'Disabled'

PurchasePlan

Gets or sets purchase plan information to be added on the OS disk

Sku
SupportedCapabilities

Gets or sets list of supported capabilities to be added on the OS disk.

SupportsHibernation

Gets or sets indicates the OS on a disk supports hibernation.

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