Sdílet prostřednictvím


DiskUpdate Constructors

Definition

Overloads

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)

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, 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, 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()

Initializes a new instance of the DiskUpdate class.

public DiskUpdate ();
Public Sub New ()

Applies to

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.

public DiskUpdate (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, int? diskSizeGB, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection, long? diskIOPSReadWrite, long? diskMBpsReadWrite, long? diskIOPSReadOnly, long? diskMBpsReadOnly, int? maxShares, Microsoft.Azure.Management.Compute.Models.Encryption encryption, string networkAccessPolicy, string diskAccessId, string tier, bool? burstingEnabled, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan);
new Microsoft.Azure.Management.Compute.Models.DiskUpdate : Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * string * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.PurchasePlan -> Microsoft.Azure.Management.Compute.Models.DiskUpdate
Public Sub New (osType As Nullable(Of OperatingSystemTypes), diskSizeGB As Nullable(Of Integer), encryptionSettingsCollection As EncryptionSettingsCollection, diskIOPSReadWrite As Nullable(Of Long), diskMBpsReadWrite As Nullable(Of Long), diskIOPSReadOnly As Nullable(Of Long), diskMBpsReadOnly As Nullable(Of Long), maxShares As Nullable(Of Integer), encryption As Encryption, networkAccessPolicy As String, diskAccessId As String, tier As String, burstingEnabled As Nullable(Of Boolean), purchasePlan As PurchasePlan)

Parameters

osType
Nullable<OperatingSystemTypes>

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

diskSizeGB
Nullable<Int32>

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.

encryptionSettingsCollection
EncryptionSettingsCollection

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

diskIOPSReadWrite
Nullable<Int64>

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

diskMBpsReadWrite
Nullable<Int64>

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.

diskIOPSReadOnly
Nullable<Int64>

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
Nullable<Int64>

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.

maxShares
Nullable<Int32>

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.

encryption
Encryption

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

networkAccessPolicy
String

Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'

diskAccessId
String

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

tier
String

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.

burstingEnabled
Nullable<Boolean>

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.

purchasePlan
PurchasePlan

Purchase plan information to be added on the OS disk

Applies to

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>)

public DiskUpdate (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, int? diskSizeGB, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection, long? diskIOPSReadWrite, long? diskMBpsReadWrite, long? diskIOPSReadOnly, long? diskMBpsReadOnly, int? maxShares, Microsoft.Azure.Management.Compute.Models.Encryption encryption, string networkAccessPolicy, string diskAccessId, string tier, bool? burstingEnabled, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan, System.Collections.Generic.IDictionary<string,string> tags);
new Microsoft.Azure.Management.Compute.Models.DiskUpdate : Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * string * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.PurchasePlan * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.Compute.Models.DiskUpdate
Public Sub New (osType As Nullable(Of OperatingSystemTypes), diskSizeGB As Nullable(Of Integer), encryptionSettingsCollection As EncryptionSettingsCollection, diskIOPSReadWrite As Nullable(Of Long), diskMBpsReadWrite As Nullable(Of Long), diskIOPSReadOnly As Nullable(Of Long), diskMBpsReadOnly As Nullable(Of Long), maxShares As Nullable(Of Integer), encryption As Encryption, networkAccessPolicy As String, diskAccessId As String, tier As String, burstingEnabled As Nullable(Of Boolean), purchasePlan As PurchasePlan, tags As IDictionary(Of String, String))

Parameters

diskSizeGB
Nullable<Int32>
encryptionSettingsCollection
EncryptionSettingsCollection
diskIOPSReadWrite
Nullable<Int64>
diskMBpsReadWrite
Nullable<Int64>
diskIOPSReadOnly
Nullable<Int64>
diskMBpsReadOnly
Nullable<Int64>
maxShares
Nullable<Int32>
encryption
Encryption
networkAccessPolicy
String
diskAccessId
String
tier
String
burstingEnabled
Nullable<Boolean>
purchasePlan
PurchasePlan

Applies to

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.

public DiskUpdate (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, int? diskSizeGB, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection, long? diskIOPSReadWrite, long? diskMBpsReadWrite, long? diskIOPSReadOnly, long? diskMBpsReadOnly, int? maxShares, Microsoft.Azure.Management.Compute.Models.Encryption encryption, string networkAccessPolicy, string diskAccessId, string tier, bool? burstingEnabled, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan, System.Collections.Generic.IDictionary<string,string> tags, Microsoft.Azure.Management.Compute.Models.DiskSku sku);
new Microsoft.Azure.Management.Compute.Models.DiskUpdate : Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * string * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.PurchasePlan * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.DiskSku -> Microsoft.Azure.Management.Compute.Models.DiskUpdate
Public Sub New (osType As Nullable(Of OperatingSystemTypes), diskSizeGB As Nullable(Of Integer), encryptionSettingsCollection As EncryptionSettingsCollection, diskIOPSReadWrite As Nullable(Of Long), diskMBpsReadWrite As Nullable(Of Long), diskIOPSReadOnly As Nullable(Of Long), diskMBpsReadOnly As Nullable(Of Long), maxShares As Nullable(Of Integer), encryption As Encryption, networkAccessPolicy As String, diskAccessId As String, tier As String, burstingEnabled As Nullable(Of Boolean), purchasePlan As PurchasePlan, tags As IDictionary(Of String, String), sku As DiskSku)

Parameters

osType
Nullable<OperatingSystemTypes>

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

diskSizeGB
Nullable<Int32>

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.

encryptionSettingsCollection
EncryptionSettingsCollection

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

diskIOPSReadWrite
Nullable<Int64>

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

diskMBpsReadWrite
Nullable<Int64>

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.

diskIOPSReadOnly
Nullable<Int64>

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
Nullable<Int64>

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.

maxShares
Nullable<Int32>

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.

encryption
Encryption

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

networkAccessPolicy
String

Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'

diskAccessId
String

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

tier
String

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.

burstingEnabled
Nullable<Boolean>

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.

purchasePlan
PurchasePlan

Purchase plan information to be added on the OS disk

tags
IDictionary<String,String>

Resource tags

sku
DiskSku

Applies to

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.

public DiskUpdate (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, int? diskSizeGB, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection, long? diskIOPSReadWrite, long? diskMBpsReadWrite, long? diskIOPSReadOnly, long? diskMBpsReadOnly, int? maxShares, Microsoft.Azure.Management.Compute.Models.Encryption encryption, string networkAccessPolicy, string diskAccessId, string tier, bool? burstingEnabled, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan, Microsoft.Azure.Management.Compute.Models.PropertyUpdatesInProgress propertyUpdatesInProgress, bool? supportsHibernation = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.DiskSku sku = default);
new Microsoft.Azure.Management.Compute.Models.DiskUpdate : Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * string * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.PropertyUpdatesInProgress * Nullable<bool> * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.DiskSku -> Microsoft.Azure.Management.Compute.Models.DiskUpdate
Public Sub New (osType As Nullable(Of OperatingSystemTypes), diskSizeGB As Nullable(Of Integer), encryptionSettingsCollection As EncryptionSettingsCollection, diskIOPSReadWrite As Nullable(Of Long), diskMBpsReadWrite As Nullable(Of Long), diskIOPSReadOnly As Nullable(Of Long), diskMBpsReadOnly As Nullable(Of Long), maxShares As Nullable(Of Integer), encryption As Encryption, networkAccessPolicy As String, diskAccessId As String, tier As String, burstingEnabled As Nullable(Of Boolean), purchasePlan As PurchasePlan, propertyUpdatesInProgress As PropertyUpdatesInProgress, Optional supportsHibernation As Nullable(Of Boolean) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As DiskSku = Nothing)

Parameters

osType
Nullable<OperatingSystemTypes>

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

diskSizeGB
Nullable<Int32>

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.

encryptionSettingsCollection
EncryptionSettingsCollection

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

diskIOPSReadWrite
Nullable<Int64>

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

diskMBpsReadWrite
Nullable<Int64>

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.

diskIOPSReadOnly
Nullable<Int64>

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
Nullable<Int64>

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.

maxShares
Nullable<Int32>

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.

encryption
Encryption

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

networkAccessPolicy
String

Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'

diskAccessId
String

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

tier
String

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.

burstingEnabled
Nullable<Boolean>

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.

purchasePlan
PurchasePlan

Purchase plan information to be added on the OS disk

propertyUpdatesInProgress
PropertyUpdatesInProgress

Properties of the disk for which update is pending.

supportsHibernation
Nullable<Boolean>

Indicates the OS on a disk supports hibernation.

tags
IDictionary<String,String>

Resource tags

sku
DiskSku

Applies to

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.

public DiskUpdate (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, int? diskSizeGB, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection, long? diskIOPSReadWrite, long? diskMBpsReadWrite, long? diskIOPSReadOnly, long? diskMBpsReadOnly, int? maxShares, Microsoft.Azure.Management.Compute.Models.Encryption encryption, string networkAccessPolicy, string diskAccessId, string tier, bool? burstingEnabled, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan, Microsoft.Azure.Management.Compute.Models.SupportedCapabilities supportedCapabilities, Microsoft.Azure.Management.Compute.Models.PropertyUpdatesInProgress propertyUpdatesInProgress, bool? supportsHibernation, string publicNetworkAccess, System.Collections.Generic.IDictionary<string,string> tags, Microsoft.Azure.Management.Compute.Models.DiskSku sku = default);
new Microsoft.Azure.Management.Compute.Models.DiskUpdate : Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * string * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.SupportedCapabilities * Microsoft.Azure.Management.Compute.Models.PropertyUpdatesInProgress * Nullable<bool> * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.DiskSku -> Microsoft.Azure.Management.Compute.Models.DiskUpdate
Public Sub New (osType As Nullable(Of OperatingSystemTypes), diskSizeGB As Nullable(Of Integer), encryptionSettingsCollection As EncryptionSettingsCollection, diskIOPSReadWrite As Nullable(Of Long), diskMBpsReadWrite As Nullable(Of Long), diskIOPSReadOnly As Nullable(Of Long), diskMBpsReadOnly As Nullable(Of Long), maxShares As Nullable(Of Integer), encryption As Encryption, networkAccessPolicy As String, diskAccessId As String, tier As String, burstingEnabled As Nullable(Of Boolean), purchasePlan As PurchasePlan, supportedCapabilities As SupportedCapabilities, propertyUpdatesInProgress As PropertyUpdatesInProgress, supportsHibernation As Nullable(Of Boolean), publicNetworkAccess As String, tags As IDictionary(Of String, String), Optional sku As DiskSku = Nothing)

Parameters

osType
Nullable<OperatingSystemTypes>

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

diskSizeGB
Nullable<Int32>

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.

encryptionSettingsCollection
EncryptionSettingsCollection

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

diskIOPSReadWrite
Nullable<Int64>

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

diskMBpsReadWrite
Nullable<Int64>

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.

diskIOPSReadOnly
Nullable<Int64>

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
Nullable<Int64>

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.

maxShares
Nullable<Int32>

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.

encryption
Encryption

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

networkAccessPolicy
String

Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'

diskAccessId
String

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

tier
String

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.

burstingEnabled
Nullable<Boolean>

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.

purchasePlan
PurchasePlan

Purchase plan information to be added on the OS disk

supportedCapabilities
SupportedCapabilities

List of supported capabilities (like accelerated networking) to be added on the OS disk.

propertyUpdatesInProgress
PropertyUpdatesInProgress

Properties of the disk for which update is pending.

supportsHibernation
Nullable<Boolean>

Indicates the OS on a disk supports hibernation.

publicNetworkAccess
String

Possible values include: 'Enabled', 'Disabled'

tags
IDictionary<String,String>

Resource tags

sku
DiskSku

Applies to

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.

public DiskUpdate (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, int? diskSizeGB, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection, long? diskIOPSReadWrite, long? diskMBpsReadWrite, long? diskIOPSReadOnly, long? diskMBpsReadOnly, int? maxShares, Microsoft.Azure.Management.Compute.Models.Encryption encryption, string networkAccessPolicy, string diskAccessId, string tier, bool? burstingEnabled, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan, Microsoft.Azure.Management.Compute.Models.SupportedCapabilities supportedCapabilities, Microsoft.Azure.Management.Compute.Models.PropertyUpdatesInProgress propertyUpdatesInProgress, bool? supportsHibernation, string publicNetworkAccess, string dataAccessAuthMode, System.Collections.Generic.IDictionary<string,string> tags, Microsoft.Azure.Management.Compute.Models.DiskSku sku = default);
new Microsoft.Azure.Management.Compute.Models.DiskUpdate : Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * string * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.SupportedCapabilities * Microsoft.Azure.Management.Compute.Models.PropertyUpdatesInProgress * Nullable<bool> * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.DiskSku -> Microsoft.Azure.Management.Compute.Models.DiskUpdate
Public Sub New (osType As Nullable(Of OperatingSystemTypes), diskSizeGB As Nullable(Of Integer), encryptionSettingsCollection As EncryptionSettingsCollection, diskIOPSReadWrite As Nullable(Of Long), diskMBpsReadWrite As Nullable(Of Long), diskIOPSReadOnly As Nullable(Of Long), diskMBpsReadOnly As Nullable(Of Long), maxShares As Nullable(Of Integer), encryption As Encryption, networkAccessPolicy As String, diskAccessId As String, tier As String, burstingEnabled As Nullable(Of Boolean), purchasePlan As PurchasePlan, supportedCapabilities As SupportedCapabilities, propertyUpdatesInProgress As PropertyUpdatesInProgress, supportsHibernation As Nullable(Of Boolean), publicNetworkAccess As String, dataAccessAuthMode As String, tags As IDictionary(Of String, String), Optional sku As DiskSku = Nothing)

Parameters

osType
Nullable<OperatingSystemTypes>

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

diskSizeGB
Nullable<Int32>

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.

encryptionSettingsCollection
EncryptionSettingsCollection

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

diskIOPSReadWrite
Nullable<Int64>

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

diskMBpsReadWrite
Nullable<Int64>

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.

diskIOPSReadOnly
Nullable<Int64>

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
Nullable<Int64>

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.

maxShares
Nullable<Int32>

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.

encryption
Encryption

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

networkAccessPolicy
String

Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'

diskAccessId
String

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

tier
String

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.

burstingEnabled
Nullable<Boolean>

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.

purchasePlan
PurchasePlan

Purchase plan information to be added on the OS disk

supportedCapabilities
SupportedCapabilities

List of supported capabilities to be added on the OS disk.

propertyUpdatesInProgress
PropertyUpdatesInProgress

Properties of the disk for which update is pending.

supportsHibernation
Nullable<Boolean>

Indicates the OS on a disk supports hibernation.

publicNetworkAccess
String

Possible values include: 'Enabled', 'Disabled'

dataAccessAuthMode
String

Possible values include: 'AzureActiveDirectory', 'None'

tags
IDictionary<String,String>

Resource tags

sku
DiskSku

Applies to

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.

public DiskUpdate (Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType = default, int? diskSizeGB = default, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection = default, long? diskIOPSReadWrite = default, long? diskMBpsReadWrite = default, long? diskIOPSReadOnly = default, long? diskMBpsReadOnly = default, int? maxShares = default, Microsoft.Azure.Management.Compute.Models.Encryption encryption = default, string networkAccessPolicy = default, string diskAccessId = default, string tier = default, bool? burstingEnabled = default, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan = default, Microsoft.Azure.Management.Compute.Models.SupportedCapabilities supportedCapabilities = default, Microsoft.Azure.Management.Compute.Models.PropertyUpdatesInProgress propertyUpdatesInProgress = default, bool? supportsHibernation = default, string publicNetworkAccess = default, string dataAccessAuthMode = default, bool? optimizedForFrequentAttach = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.DiskSku sku = default);
new Microsoft.Azure.Management.Compute.Models.DiskUpdate : Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.Encryption * string * string * string * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.SupportedCapabilities * Microsoft.Azure.Management.Compute.Models.PropertyUpdatesInProgress * Nullable<bool> * string * string * Nullable<bool> * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.DiskSku -> Microsoft.Azure.Management.Compute.Models.DiskUpdate
Public Sub New (Optional osType As Nullable(Of OperatingSystemTypes) = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional encryptionSettingsCollection As EncryptionSettingsCollection = Nothing, Optional diskIOPSReadWrite As Nullable(Of Long) = Nothing, Optional diskMBpsReadWrite As Nullable(Of Long) = Nothing, Optional diskIOPSReadOnly As Nullable(Of Long) = Nothing, Optional diskMBpsReadOnly As Nullable(Of Long) = Nothing, Optional maxShares As Nullable(Of Integer) = Nothing, Optional encryption As Encryption = Nothing, Optional networkAccessPolicy As String = Nothing, Optional diskAccessId As String = Nothing, Optional tier As String = Nothing, Optional burstingEnabled As Nullable(Of Boolean) = Nothing, Optional purchasePlan As PurchasePlan = Nothing, Optional supportedCapabilities As SupportedCapabilities = Nothing, Optional propertyUpdatesInProgress As PropertyUpdatesInProgress = Nothing, Optional supportsHibernation As Nullable(Of Boolean) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional dataAccessAuthMode As String = Nothing, Optional optimizedForFrequentAttach As Nullable(Of Boolean) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As DiskSku = Nothing)

Parameters

osType
Nullable<OperatingSystemTypes>

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

diskSizeGB
Nullable<Int32>

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.

encryptionSettingsCollection
EncryptionSettingsCollection

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

diskIOPSReadWrite
Nullable<Int64>

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

diskMBpsReadWrite
Nullable<Int64>

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.

diskIOPSReadOnly
Nullable<Int64>

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
Nullable<Int64>

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.

maxShares
Nullable<Int32>

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.

encryption
Encryption

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

networkAccessPolicy
String

Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'

diskAccessId
String

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

tier
String

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.

burstingEnabled
Nullable<Boolean>

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.

purchasePlan
PurchasePlan

Purchase plan information to be added on the OS disk

supportedCapabilities
SupportedCapabilities

List of supported capabilities to be added on the OS disk.

propertyUpdatesInProgress
PropertyUpdatesInProgress

Properties of the disk for which update is pending.

supportsHibernation
Nullable<Boolean>

Indicates the OS on a disk supports hibernation.

publicNetworkAccess
String

Possible values include: 'Enabled', 'Disabled'

dataAccessAuthMode
String

Possible values include: 'AzureActiveDirectory', 'None'

optimizedForFrequentAttach
Nullable<Boolean>

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.

tags
IDictionary<String,String>

Resource tags

sku
DiskSku

Applies to