你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DiskUpdate 构造函数

定义

重载

DiskUpdate()

初始化 DiskUpdate 类的新实例。

DiskUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, Encryption, String, String, String, Nullable<Boolean>, PurchasePlan)

初始化 DiskUpdate 类的新实例。

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)

初始化 DiskUpdate 类的新实例。

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)

初始化 DiskUpdate 类的新实例。

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)

初始化 DiskUpdate 类的新实例。

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)

初始化 DiskUpdate 类的新实例。

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)

初始化 DiskUpdate 类的新实例。

DiskUpdate()

初始化 DiskUpdate 类的新实例。

public DiskUpdate ();
Public Sub New ()

适用于

DiskUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, Encryption, String, String, String, Nullable<Boolean>, PurchasePlan)

初始化 DiskUpdate 类的新实例。

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)

参数

osType
Nullable<OperatingSystemTypes>

操作系统类型。 可能的值包括:“Windows”、“Linux”

diskSizeGB
Nullable<Int32>

如果 creationData.createOption 为 Empty,则此字段是必需的,它指示要创建的磁盘的大小。 如果此字段可用于使用其他选项进行更新或创建,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许重设大小,并且只能增加磁盘的大小。

encryptionSettingsCollection
EncryptionSettingsCollection

加密设置集合是 Azure 磁盘加密,可以包含每个磁盘或快照的多个加密设置。

diskIOPSReadWrite
Nullable<Int64>

此磁盘允许的 IOPS 数;只能为 UltraSSD 磁盘设置。 一个操作可以在 4k 到 256k 字节之间传输。

diskMBpsReadWrite
Nullable<Int64>

此磁盘允许的带宽;只能为 UltraSSD 磁盘设置。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,其幂为 10。

diskIOPSReadOnly
Nullable<Int64>

将共享磁盘装载为 ReadOnly 的所有 VM 中允许的 IOPS 总数。 一个操作可以在 4k 到 256k 字节之间传输。

diskMBpsReadOnly
Nullable<Int64>

将共享磁盘装载为 ReadOnly 的所有 VM 允许的总吞吐量 (MBps) 。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,其幂为 10。

maxShares
Nullable<Int32>

可以同时附加到磁盘的最大 VM 数。 大于 1 的值表示可以同时装载到多个 VM 上的磁盘。

encryption
Encryption

加密属性可用于使用客户管理的密钥或平台管理的密钥加密静态数据。

networkAccessPolicy
String

可能的值包括:“AllowAll”、“AllowPrivate”、“DenyAll”

diskAccessId
String

用于在磁盘上使用专用终结点的 DiskAccess 资源的 ARM ID。

tier
String

磁盘的性能层 (例如 P4、S10) ,如此处所述: https://azure.microsoft.com/en-us/pricing/details/managed-disks/。 不适用于超级磁盘。

burstingEnabled
Nullable<Boolean>

设置为 true 可启用超出磁盘预配的性能目标的突发。 默认情况下,突发处于禁用状态。 不适用于超级磁盘。

purchasePlan
PurchasePlan

要添加到 OS 磁盘上的购买计划信息

适用于

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

参数

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

适用于

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)

初始化 DiskUpdate 类的新实例。

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)

参数

osType
Nullable<OperatingSystemTypes>

操作系统类型。 可能的值包括:“Windows”、“Linux”

diskSizeGB
Nullable<Int32>

如果 creationData.createOption 为 Empty,则此字段是必需的,它指示要创建的磁盘的大小。 如果此字段可用于使用其他选项进行更新或创建,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许重设大小,并且只能增加磁盘的大小。

encryptionSettingsCollection
EncryptionSettingsCollection

加密设置集合是 Azure 磁盘加密,可以包含每个磁盘或快照的多个加密设置。

diskIOPSReadWrite
Nullable<Int64>

此磁盘允许的 IOPS 数;只能为 UltraSSD 磁盘设置。 一个操作可以在 4k 到 256k 字节之间传输。

diskMBpsReadWrite
Nullable<Int64>

此磁盘允许的带宽;只能为 UltraSSD 磁盘设置。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,其幂为 10。

diskIOPSReadOnly
Nullable<Int64>

将共享磁盘装载为 ReadOnly 的所有 VM 中允许的 IOPS 总数。 一个操作可以在 4k 到 256k 字节之间传输。

diskMBpsReadOnly
Nullable<Int64>

将共享磁盘装载为 ReadOnly 的所有 VM 允许的总吞吐量 (MBps) 。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,其幂为 10。

maxShares
Nullable<Int32>

可以同时附加到磁盘的最大 VM 数。 大于 1 的值表示可以同时装载到多个 VM 上的磁盘。

encryption
Encryption

加密属性可用于使用客户管理的密钥或平台管理的密钥加密静态数据。

networkAccessPolicy
String

可能的值包括:“AllowAll”、“AllowPrivate”、“DenyAll”

diskAccessId
String

用于在磁盘上使用专用终结点的 DiskAccess 资源的 ARM ID。

tier
String

磁盘的性能层 (例如 P4、S10) ,如此处所述: https://azure.microsoft.com/en-us/pricing/details/managed-disks/。 不适用于超级磁盘。

burstingEnabled
Nullable<Boolean>

设置为 true 可启用超出磁盘预配的性能目标的突发。 默认情况下,突发处于禁用状态。 不适用于超级磁盘。

purchasePlan
PurchasePlan

要添加到 OS 磁盘上的购买计划信息

tags
IDictionary<String,String>

资源标记

sku
DiskSku

适用于

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)

初始化 DiskUpdate 类的新实例。

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)

参数

osType
Nullable<OperatingSystemTypes>

操作系统类型。 可能的值包括:“Windows”、“Linux”

diskSizeGB
Nullable<Int32>

如果 creationData.createOption 为 Empty,则此字段是必需的,它指示要创建的磁盘的大小。 如果此字段可用于使用其他选项进行更新或创建,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许重设大小,并且只能增加磁盘的大小。

encryptionSettingsCollection
EncryptionSettingsCollection

加密设置集合是 Azure 磁盘加密,可以包含每个磁盘或快照的多个加密设置。

diskIOPSReadWrite
Nullable<Int64>

此磁盘允许的 IOPS 数;只能为 UltraSSD 磁盘设置。 一个操作可以在 4k 到 256k 字节之间传输。

diskMBpsReadWrite
Nullable<Int64>

此磁盘允许的带宽;只能为 UltraSSD 磁盘设置。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,其幂为 10。

diskIOPSReadOnly
Nullable<Int64>

将共享磁盘装载为 ReadOnly 的所有 VM 中允许的 IOPS 总数。 一个操作可以在 4k 到 256k 字节之间传输。

diskMBpsReadOnly
Nullable<Int64>

将共享磁盘装载为 ReadOnly 的所有 VM 允许的总吞吐量 (MBps) 。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,其幂为 10。

maxShares
Nullable<Int32>

可以同时附加到磁盘的最大 VM 数。 大于 1 的值表示可以同时装载到多个 VM 上的磁盘。

encryption
Encryption

加密属性可用于使用客户管理的密钥或平台管理的密钥加密静态数据。

networkAccessPolicy
String

可能的值包括:“AllowAll”、“AllowPrivate”、“DenyAll”

diskAccessId
String

用于在磁盘上使用专用终结点的 DiskAccess 资源的 ARM ID。

tier
String

磁盘的性能层 (例如 P4、S10) ,如此处所述: https://azure.microsoft.com/en-us/pricing/details/managed-disks/。 不适用于超级磁盘。

burstingEnabled
Nullable<Boolean>

设置为 true 可启用超出磁盘预配的性能目标的突发。 默认情况下,突发处于禁用状态。 不适用于超级磁盘。

purchasePlan
PurchasePlan

要添加到 OS 磁盘上的购买计划信息

propertyUpdatesInProgress
PropertyUpdatesInProgress

等待更新的磁盘的属性。

supportsHibernation
Nullable<Boolean>

指示磁盘上的 OS 支持休眠。

tags
IDictionary<String,String>

资源标记

sku
DiskSku

适用于

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)

初始化 DiskUpdate 类的新实例。

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)

参数

osType
Nullable<OperatingSystemTypes>

操作系统类型。 可能的值包括:“Windows”、“Linux”

diskSizeGB
Nullable<Int32>

如果 creationData.createOption 为 Empty,则此字段是必需的,它指示要创建的磁盘的大小。 如果存在此字段用于更新或创建其他选项,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许调整大小,并且只能增加磁盘的大小。

encryptionSettingsCollection
EncryptionSettingsCollection

使用的加密设置集合是 Azure 磁盘加密,可以包含每个磁盘或快照的多个加密设置。

diskIOPSReadWrite
Nullable<Int64>

此磁盘允许的 IOPS 数;只能为 UltraSSD 磁盘设置。 一个操作可以在 4k 到 256k 字节之间传输。

diskMBpsReadWrite
Nullable<Int64>

此磁盘允许的带宽;只能为 UltraSSD 磁盘设置。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。

diskIOPSReadOnly
Nullable<Int64>

将共享磁盘装载为 ReadOnly 的所有 VM 中允许的 IOPS 总数。 一个操作可以在 4k 到 256k 字节之间传输。

diskMBpsReadOnly
Nullable<Int64>

总吞吐量 (MBps) ,将允许跨所有 VM 装载共享磁盘为 ReadOnly。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。

maxShares
Nullable<Int32>

可以同时附加到磁盘的最大 VM 数。 大于 1 的值表示可以同时装载到多个 VM 上的磁盘。

encryption
Encryption

加密属性可用于使用客户管理的密钥或平台管理的密钥加密静态数据。

networkAccessPolicy
String

可能的值包括:“AllowAll”、“AllowPrivate”、“DenyAll”

diskAccessId
String

用于在磁盘上使用专用终结点的 DiskAccess 资源的 ARM ID。

tier
String

磁盘的性能层 (例如 P4、S10) ,如下所述: https://azure.microsoft.com/en-us/pricing/details/managed-disks/。 不适用于超级磁盘。

burstingEnabled
Nullable<Boolean>

设置为 true 可启用超出磁盘预配性能目标的突发。 默认情况下,突发处于禁用状态。 不适用于超级磁盘。

purchasePlan
PurchasePlan

要添加到 OS 磁盘上的购买计划信息

supportedCapabilities
SupportedCapabilities

支持的功能列表, (如要添加到 OS 磁盘上的加速网络) 。

propertyUpdatesInProgress
PropertyUpdatesInProgress

挂起更新的磁盘的属性。

supportsHibernation
Nullable<Boolean>

指示磁盘上的 OS 支持休眠。

publicNetworkAccess
String

可能的值包括:“Enabled”、“Disabled”

tags
IDictionary<String,String>

资源标记

sku
DiskSku

适用于

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)

初始化 DiskUpdate 类的新实例。

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)

参数

osType
Nullable<OperatingSystemTypes>

操作系统类型。 可能的值包括:“Windows”、“Linux”

diskSizeGB
Nullable<Int32>

如果 creationData.createOption 为空,则此字段是必需的,它指示要创建的磁盘的大小。 如果存在此字段用于更新或创建其他选项,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许调整大小,并且只能增加磁盘的大小。

encryptionSettingsCollection
EncryptionSettingsCollection

使用的加密设置集合是 Azure 磁盘加密,可以包含每个磁盘或快照的多个加密设置。

diskIOPSReadWrite
Nullable<Int64>

此磁盘允许的 IOPS 数;只能为 UltraSSD 磁盘设置。 一个操作可以在 4k 到 256k 字节之间传输。

diskMBpsReadWrite
Nullable<Int64>

此磁盘允许的带宽;只能为 UltraSSD 磁盘设置。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。

diskIOPSReadOnly
Nullable<Int64>

将共享磁盘装载为 ReadOnly 的所有 VM 中允许的 IOPS 总数。 一个操作可以在 4k 到 256k 字节之间传输。

diskMBpsReadOnly
Nullable<Int64>

总吞吐量 (MBps) ,将允许跨所有 VM 装载共享磁盘为 ReadOnly。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。

maxShares
Nullable<Int32>

可以同时附加到磁盘的最大 VM 数。 大于 1 的值表示可以同时装载到多个 VM 上的磁盘。

encryption
Encryption

加密属性可用于使用客户管理的密钥或平台管理的密钥加密静态数据。

networkAccessPolicy
String

可能的值包括:“AllowAll”、“AllowPrivate”、“DenyAll”

diskAccessId
String

用于在磁盘上使用专用终结点的 DiskAccess 资源的 ARM ID。

tier
String

磁盘的性能层 (例如 P4、S10) ,如下所述: https://azure.microsoft.com/en-us/pricing/details/managed-disks/。 不适用于超级磁盘。

burstingEnabled
Nullable<Boolean>

设置为 true 可启用超出磁盘预配性能目标的突发。 默认情况下,突发处于禁用状态。 不适用于超级磁盘。

purchasePlan
PurchasePlan

要添加到 OS 磁盘上的购买计划信息

supportedCapabilities
SupportedCapabilities

要添加到 OS 磁盘上的受支持功能的列表。

propertyUpdatesInProgress
PropertyUpdatesInProgress

挂起更新的磁盘的属性。

supportsHibernation
Nullable<Boolean>

指示磁盘上的 OS 支持休眠。

publicNetworkAccess
String

可能的值包括:“Enabled”、“Disabled”

dataAccessAuthMode
String

可能的值包括:“AzureActiveDirectory”、“None”

tags
IDictionary<String,String>

资源标记

sku
DiskSku

适用于

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)

初始化 DiskUpdate 类的新实例。

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)

参数

osType
Nullable<OperatingSystemTypes>

操作系统类型。 可能的值包括:“Windows”、“Linux”

diskSizeGB
Nullable<Int32>

如果 creationData.createOption 为空,则此字段是必需的,它指示要创建的磁盘的大小。 如果存在此字段用于更新或创建其他选项,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许调整大小,并且只能增加磁盘的大小。

encryptionSettingsCollection
EncryptionSettingsCollection

使用的加密设置集合是 Azure 磁盘加密,可以包含每个磁盘或快照的多个加密设置。

diskIOPSReadWrite
Nullable<Int64>

此磁盘允许的 IOPS 数;只能为 UltraSSD 磁盘设置。 一个操作可以在 4k 到 256k 字节之间传输。

diskMBpsReadWrite
Nullable<Int64>

此磁盘允许的带宽;只能为 UltraSSD 磁盘设置。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。

diskIOPSReadOnly
Nullable<Int64>

将共享磁盘装载为 ReadOnly 的所有 VM 中允许的 IOPS 总数。 一个操作可以在 4k 到 256k 字节之间传输。

diskMBpsReadOnly
Nullable<Int64>

总吞吐量 (MBps) ,将允许跨所有 VM 装载共享磁盘为 ReadOnly。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。

maxShares
Nullable<Int32>

可以同时附加到磁盘的最大 VM 数。 大于 1 的值表示可以同时装载到多个 VM 上的磁盘。

encryption
Encryption

加密属性可用于使用客户管理的密钥或平台管理的密钥加密静态数据。

networkAccessPolicy
String

可能的值包括:“AllowAll”、“AllowPrivate”、“DenyAll”

diskAccessId
String

用于在磁盘上使用专用终结点的 DiskAccess 资源的 ARM ID。

tier
String

磁盘的性能层 (例如 P4、S10) ,如下所述: https://azure.microsoft.com/en-us/pricing/details/managed-disks/。 不适用于超级磁盘。

burstingEnabled
Nullable<Boolean>

设置为 true 可启用超出磁盘预配性能目标的突发。 默认情况下,突发处于禁用状态。 不适用于超级磁盘。

purchasePlan
PurchasePlan

要添加到 OS 磁盘上的购买计划信息

supportedCapabilities
SupportedCapabilities

要添加到 OS 磁盘上的受支持功能的列表。

propertyUpdatesInProgress
PropertyUpdatesInProgress

挂起更新的磁盘的属性。

supportsHibernation
Nullable<Boolean>

指示磁盘上的 OS 支持休眠。

publicNetworkAccess
String

可能的值包括:“Enabled”、“Disabled”

dataAccessAuthMode
String

可能的值包括:“AzureActiveDirectory”、“None”

optimizedForFrequentAttach
Nullable<Boolean>

将此属性设置为 true 可提高每天 (超过 5 次的数据磁盘的可靠性和性能,) 从一个虚拟机分离并附加到另一个虚拟机。 不应为未频繁分离和附加的磁盘设置此属性,因为这会导致磁盘与虚拟机的容错域不一致。

tags
IDictionary<String,String>

资源标记

sku
DiskSku

适用于