你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DiskUpdate 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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”
如果 creationData.createOption 为 Empty,则此字段是必需的,它指示要创建的磁盘的大小。 如果此字段可用于使用其他选项进行更新或创建,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许重设大小,并且只能增加磁盘的大小。
- encryptionSettingsCollection
- EncryptionSettingsCollection
加密设置集合是 Azure 磁盘加密,可以包含每个磁盘或快照的多个加密设置。
此磁盘允许的带宽;只能为 UltraSSD 磁盘设置。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,其幂为 10。
将共享磁盘装载为 ReadOnly 的所有 VM 允许的总吞吐量 (MBps) 。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,其幂为 10。
- 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/。 不适用于超级磁盘。
- 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))
参数
- osType
- Nullable<OperatingSystemTypes>
- encryptionSettingsCollection
- EncryptionSettingsCollection
- encryption
- Encryption
- networkAccessPolicy
- String
- diskAccessId
- String
- tier
- String
- purchasePlan
- PurchasePlan
- tags
- 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 类的新实例。
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”
如果 creationData.createOption 为 Empty,则此字段是必需的,它指示要创建的磁盘的大小。 如果此字段可用于使用其他选项进行更新或创建,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许重设大小,并且只能增加磁盘的大小。
- encryptionSettingsCollection
- EncryptionSettingsCollection
加密设置集合是 Azure 磁盘加密,可以包含每个磁盘或快照的多个加密设置。
此磁盘允许的带宽;只能为 UltraSSD 磁盘设置。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,其幂为 10。
将共享磁盘装载为 ReadOnly 的所有 VM 允许的总吞吐量 (MBps) 。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,其幂为 10。
- 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/。 不适用于超级磁盘。
- 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”
如果 creationData.createOption 为 Empty,则此字段是必需的,它指示要创建的磁盘的大小。 如果此字段可用于使用其他选项进行更新或创建,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许重设大小,并且只能增加磁盘的大小。
- encryptionSettingsCollection
- EncryptionSettingsCollection
加密设置集合是 Azure 磁盘加密,可以包含每个磁盘或快照的多个加密设置。
此磁盘允许的带宽;只能为 UltraSSD 磁盘设置。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,其幂为 10。
将共享磁盘装载为 ReadOnly 的所有 VM 允许的总吞吐量 (MBps) 。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,其幂为 10。
- 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/。 不适用于超级磁盘。
- purchasePlan
- PurchasePlan
要添加到 OS 磁盘上的购买计划信息
- propertyUpdatesInProgress
- PropertyUpdatesInProgress
等待更新的磁盘的属性。
- 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”
如果 creationData.createOption 为 Empty,则此字段是必需的,它指示要创建的磁盘的大小。 如果存在此字段用于更新或创建其他选项,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许调整大小,并且只能增加磁盘的大小。
- encryptionSettingsCollection
- EncryptionSettingsCollection
使用的加密设置集合是 Azure 磁盘加密,可以包含每个磁盘或快照的多个加密设置。
此磁盘允许的带宽;只能为 UltraSSD 磁盘设置。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。
总吞吐量 (MBps) ,将允许跨所有 VM 装载共享磁盘为 ReadOnly。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。
- 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/。 不适用于超级磁盘。
- purchasePlan
- PurchasePlan
要添加到 OS 磁盘上的购买计划信息
- supportedCapabilities
- SupportedCapabilities
支持的功能列表, (如要添加到 OS 磁盘上的加速网络) 。
- propertyUpdatesInProgress
- PropertyUpdatesInProgress
挂起更新的磁盘的属性。
- 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”
如果 creationData.createOption 为空,则此字段是必需的,它指示要创建的磁盘的大小。 如果存在此字段用于更新或创建其他选项,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许调整大小,并且只能增加磁盘的大小。
- encryptionSettingsCollection
- EncryptionSettingsCollection
使用的加密设置集合是 Azure 磁盘加密,可以包含每个磁盘或快照的多个加密设置。
此磁盘允许的带宽;只能为 UltraSSD 磁盘设置。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。
总吞吐量 (MBps) ,将允许跨所有 VM 装载共享磁盘为 ReadOnly。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。
- 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/。 不适用于超级磁盘。
- purchasePlan
- PurchasePlan
要添加到 OS 磁盘上的购买计划信息
- supportedCapabilities
- SupportedCapabilities
要添加到 OS 磁盘上的受支持功能的列表。
- propertyUpdatesInProgress
- PropertyUpdatesInProgress
挂起更新的磁盘的属性。
- 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”
如果 creationData.createOption 为空,则此字段是必需的,它指示要创建的磁盘的大小。 如果存在此字段用于更新或创建其他选项,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许调整大小,并且只能增加磁盘的大小。
- encryptionSettingsCollection
- EncryptionSettingsCollection
使用的加密设置集合是 Azure 磁盘加密,可以包含每个磁盘或快照的多个加密设置。
此磁盘允许的带宽;只能为 UltraSSD 磁盘设置。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。
总吞吐量 (MBps) ,将允许跨所有 VM 装载共享磁盘为 ReadOnly。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。
- 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/。 不适用于超级磁盘。
- purchasePlan
- PurchasePlan
要添加到 OS 磁盘上的购买计划信息
- supportedCapabilities
- SupportedCapabilities
要添加到 OS 磁盘上的受支持功能的列表。
- propertyUpdatesInProgress
- PropertyUpdatesInProgress
挂起更新的磁盘的属性。
- publicNetworkAccess
- String
可能的值包括:“Enabled”、“Disabled”
- dataAccessAuthMode
- String
可能的值包括:“AzureActiveDirectory”、“None”
将此属性设置为 true 可提高每天 (超过 5 次的数据磁盘的可靠性和性能,) 从一个虚拟机分离并附加到另一个虚拟机。 不应为未频繁分离和附加的磁盘设置此属性,因为这会导致磁盘与虚拟机的容错域不一致。
- tags
- IDictionary<String,String>
资源标记
- sku
- DiskSku