你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Disk 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Disk()
初始化 Disk 类的新实例。
public Disk ();
Public Sub New ()
适用于
Disk(String, CreationData, String, String, String, IDictionary<String, String>, String, IList<String>, DiskSku, IList<String>, ExtendedLocation, Nullable<DateTime>, Nullable<OperatingSystemTypes>, String, PurchasePlan, Nullable<Int32>, Nullable<Int64>, String, EncryptionSettingsCollection, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, String, Encryption, Nullable<Int32>, IList<ShareInfoElement>, String, String, String, Nullable<Boolean>, PropertyUpdatesInProgress, Nullable<Boolean>, DiskSecurityProfile)
初始化 Disk 类的新实例。
public Disk (string location, Microsoft.Azure.Management.Compute.Models.CreationData creationData, string id, string name, string type, System.Collections.Generic.IDictionary<string,string> tags, string managedBy, System.Collections.Generic.IList<string> managedByExtended, Microsoft.Azure.Management.Compute.Models.DiskSku sku, System.Collections.Generic.IList<string> zones, Microsoft.Azure.Management.Compute.Models.ExtendedLocation extendedLocation, DateTime? timeCreated, Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, string hyperVGeneration, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan, int? diskSizeGB, long? diskSizeBytes = default, string uniqueId = default, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection = default, string provisioningState = default, long? diskIOPSReadWrite = default, long? diskMBpsReadWrite = default, long? diskIOPSReadOnly = default, long? diskMBpsReadOnly = default, string diskState = default, Microsoft.Azure.Management.Compute.Models.Encryption encryption = default, int? maxShares = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ShareInfoElement> shareInfo = default, string networkAccessPolicy = default, string diskAccessId = default, string tier = default, bool? burstingEnabled = default, Microsoft.Azure.Management.Compute.Models.PropertyUpdatesInProgress propertyUpdatesInProgress = default, bool? supportsHibernation = default, Microsoft.Azure.Management.Compute.Models.DiskSecurityProfile securityProfile = default);
new Microsoft.Azure.Management.Compute.Models.Disk : string * Microsoft.Azure.Management.Compute.Models.CreationData * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Compute.Models.DiskSku * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Compute.Models.ExtendedLocation * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * string * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Nullable<int> * Nullable<int64> * string * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * string * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * string * Microsoft.Azure.Management.Compute.Models.Encryption * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ShareInfoElement> * string * string * string * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.PropertyUpdatesInProgress * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.DiskSecurityProfile -> Microsoft.Azure.Management.Compute.Models.Disk
Public Sub New (location As String, creationData As CreationData, id As String, name As String, type As String, tags As IDictionary(Of String, String), managedBy As String, managedByExtended As IList(Of String), sku As DiskSku, zones As IList(Of String), extendedLocation As ExtendedLocation, timeCreated As Nullable(Of DateTime), osType As Nullable(Of OperatingSystemTypes), hyperVGeneration As String, purchasePlan As PurchasePlan, diskSizeGB As Nullable(Of Integer), Optional diskSizeBytes As Nullable(Of Long) = Nothing, Optional uniqueId As String = Nothing, Optional encryptionSettingsCollection As EncryptionSettingsCollection = Nothing, Optional provisioningState As String = 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 diskState As String = Nothing, Optional encryption As Encryption = Nothing, Optional maxShares As Nullable(Of Integer) = Nothing, Optional shareInfo As IList(Of ShareInfoElement) = Nothing, Optional networkAccessPolicy As String = Nothing, Optional diskAccessId As String = Nothing, Optional tier As String = Nothing, Optional burstingEnabled As Nullable(Of Boolean) = Nothing, Optional propertyUpdatesInProgress As PropertyUpdatesInProgress = Nothing, Optional supportsHibernation As Nullable(Of Boolean) = Nothing, Optional securityProfile As DiskSecurityProfile = Nothing)
参数
- location
- String
资源位置
- creationData
- CreationData
磁盘源信息。 创建磁盘后,无法更改创建数据信息。
- id
- String
资源 ID
- name
- String
资源名称
- type
- String
资源类型
- tags
- IDictionary<String,String>
资源标记
- managedBy
- String
包含附加了磁盘的 VM ID 的相对 URI。
包含附加了磁盘的 VM ID 的相对 URI 列表。 对于磁盘,maxShares 应设置为大于 1 的值,以允许将其附加到多个 VM。
- sku
- DiskSku
- extendedLocation
- ExtendedLocation
要在其中创建磁盘的扩展位置。 无法更改扩展位置。
- osType
- Nullable<OperatingSystemTypes>
操作系统类型。 可能的值包括:“Windows”、“Linux”
- hyperVGeneration
- String
虚拟机的虚拟机监控程序生成。 仅适用于 OS 磁盘。 可能的值包括:“V1”、“V2”
- purchasePlan
- PurchasePlan
从中创建 OS 磁盘的映像的购买计划信息。 例如 - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
如果 creationData.createOption 为空,则此字段是必需的,它指示要创建的磁盘的大小。 如果存在此字段用于更新或创建其他选项,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许调整大小,并且只能增加磁盘的大小。
- uniqueId
- String
标识资源的唯一 Guid。
- encryptionSettingsCollection
- EncryptionSettingsCollection
用于 Azure 磁盘加密的加密设置集合可以包含每个磁盘或快照的多个加密设置。
- provisioningState
- String
磁盘预配状态。
此磁盘允许的带宽;只能为 UltraSSD 磁盘设置。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。
总吞吐量 (MBps) ,将允许跨所有 VM 装载共享磁盘为 ReadOnly。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。
- diskState
- String
磁盘的状态。 可能的值包括:“Unattached”、“Attached”、“Reserved”、“Frozen”、“ActiveSAS”、“ActiveSASFrozen”、“ReadyToUpload”、“ActiveUpload”
- encryption
- Encryption
加密属性可用于使用客户管理的密钥或平台管理的密钥加密静态数据。
- shareInfo
- IList<ShareInfoElement>
附加了磁盘的所有 VM 的列表的详细信息。 对于磁盘,maxShares 应设置为大于 1 的值,以允许将其附加到多个 VM。
- networkAccessPolicy
- String
可能的值包括:“AllowAll”、“AllowPrivate”、“DenyAll”
- diskAccessId
- String
用于在磁盘上使用专用终结点的 DiskAccess 资源的 ARM ID。
- tier
- String
磁盘的性能层 (例如 P4、S10) ,如下所述: https://azure.microsoft.com/en-us/pricing/details/managed-disks/。 不适用于超级磁盘。
- propertyUpdatesInProgress
- PropertyUpdatesInProgress
挂起更新的磁盘的属性。
- securityProfile
- DiskSecurityProfile
包含资源的安全相关信息。
适用于
Disk(String, CreationData, String, String, String, IDictionary<String, String>, String, IList<String>, DiskSku, IList<String>, ExtendedLocation, Nullable<DateTime>, Nullable<OperatingSystemTypes>, String, PurchasePlan, SupportedCapabilities, Nullable<Int32>, Nullable<Int64>, String, EncryptionSettingsCollection, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, String, Encryption, Nullable<Int32>, IList<ShareInfoElement>, String, String, String, Nullable<Boolean>, PropertyUpdatesInProgress, Nullable<Boolean>, DiskSecurityProfile, Nullable<Double>, String, String, Nullable<Boolean>)
public Disk (string location, Microsoft.Azure.Management.Compute.Models.CreationData creationData, string id, string name, string type, System.Collections.Generic.IDictionary<string,string> tags, string managedBy, System.Collections.Generic.IList<string> managedByExtended, Microsoft.Azure.Management.Compute.Models.DiskSku sku, System.Collections.Generic.IList<string> zones, Microsoft.Azure.Management.Compute.Models.ExtendedLocation extendedLocation, DateTime? timeCreated, Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType, string hyperVGeneration, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan, Microsoft.Azure.Management.Compute.Models.SupportedCapabilities supportedCapabilities, int? diskSizeGB, long? diskSizeBytes, string uniqueId, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection, string provisioningState, long? diskIOPSReadWrite, long? diskMBpsReadWrite, long? diskIOPSReadOnly, long? diskMBpsReadOnly, string diskState, Microsoft.Azure.Management.Compute.Models.Encryption encryption, int? maxShares, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ShareInfoElement> shareInfo, string networkAccessPolicy, string diskAccessId, string tier, bool? burstingEnabled = default, Microsoft.Azure.Management.Compute.Models.PropertyUpdatesInProgress propertyUpdatesInProgress = default, bool? supportsHibernation = default, Microsoft.Azure.Management.Compute.Models.DiskSecurityProfile securityProfile = default, double? completionPercent = default, string publicNetworkAccess = default, string dataAccessAuthMode = default, bool? optimizedForFrequentAttach = default);
new Microsoft.Azure.Management.Compute.Models.Disk : string * Microsoft.Azure.Management.Compute.Models.CreationData * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Compute.Models.DiskSku * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Compute.Models.ExtendedLocation * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * string * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.SupportedCapabilities * Nullable<int> * Nullable<int64> * string * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * string * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * string * Microsoft.Azure.Management.Compute.Models.Encryption * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ShareInfoElement> * string * string * string * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.PropertyUpdatesInProgress * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.DiskSecurityProfile * Nullable<double> * string * string * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.Disk
Public Sub New (location As String, creationData As CreationData, id As String, name As String, type As String, tags As IDictionary(Of String, String), managedBy As String, managedByExtended As IList(Of String), sku As DiskSku, zones As IList(Of String), extendedLocation As ExtendedLocation, timeCreated As Nullable(Of DateTime), osType As Nullable(Of OperatingSystemTypes), hyperVGeneration As String, purchasePlan As PurchasePlan, supportedCapabilities As SupportedCapabilities, diskSizeGB As Nullable(Of Integer), diskSizeBytes As Nullable(Of Long), uniqueId As String, encryptionSettingsCollection As EncryptionSettingsCollection, provisioningState As String, diskIOPSReadWrite As Nullable(Of Long), diskMBpsReadWrite As Nullable(Of Long), diskIOPSReadOnly As Nullable(Of Long), diskMBpsReadOnly As Nullable(Of Long), diskState As String, encryption As Encryption, maxShares As Nullable(Of Integer), shareInfo As IList(Of ShareInfoElement), networkAccessPolicy As String, diskAccessId As String, tier As String, Optional burstingEnabled As Nullable(Of Boolean) = Nothing, Optional propertyUpdatesInProgress As PropertyUpdatesInProgress = Nothing, Optional supportsHibernation As Nullable(Of Boolean) = Nothing, Optional securityProfile As DiskSecurityProfile = Nothing, Optional completionPercent As Nullable(Of Double) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional dataAccessAuthMode As String = Nothing, Optional optimizedForFrequentAttach As Nullable(Of Boolean) = Nothing)
参数
- location
- String
- creationData
- CreationData
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- managedBy
- String
- sku
- DiskSku
- extendedLocation
- ExtendedLocation
- osType
- Nullable<OperatingSystemTypes>
- hyperVGeneration
- String
- purchasePlan
- PurchasePlan
- supportedCapabilities
- SupportedCapabilities
- uniqueId
- String
- encryptionSettingsCollection
- EncryptionSettingsCollection
- provisioningState
- String
- diskState
- String
- encryption
- Encryption
- shareInfo
- IList<ShareInfoElement>
- networkAccessPolicy
- String
- diskAccessId
- String
- tier
- String
- propertyUpdatesInProgress
- PropertyUpdatesInProgress
- securityProfile
- DiskSecurityProfile
- publicNetworkAccess
- String
- dataAccessAuthMode
- String
适用于
Disk(String, CreationData, String, String, String, IDictionary<String, String>, String, IList<String>, DiskSku, IList<String>, ExtendedLocation, Nullable<DateTime>, Nullable<OperatingSystemTypes>, String, PurchasePlan, SupportedCapabilities, Nullable<Int32>, Nullable<Int64>, String, EncryptionSettingsCollection, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, String, Encryption, Nullable<Int32>, IList<ShareInfoElement>, String, String, Nullable<DateTime>, String, Nullable<Boolean>, PropertyUpdatesInProgress, Nullable<Boolean>, DiskSecurityProfile, Nullable<Double>, String, String, Nullable<Boolean>)
初始化 Disk 类的新实例。
public Disk (string location, Microsoft.Azure.Management.Compute.Models.CreationData creationData, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string managedBy = default, System.Collections.Generic.IList<string> managedByExtended = default, Microsoft.Azure.Management.Compute.Models.DiskSku sku = default, System.Collections.Generic.IList<string> zones = default, Microsoft.Azure.Management.Compute.Models.ExtendedLocation extendedLocation = default, DateTime? timeCreated = default, Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes? osType = default, string hyperVGeneration = default, Microsoft.Azure.Management.Compute.Models.PurchasePlan purchasePlan = default, Microsoft.Azure.Management.Compute.Models.SupportedCapabilities supportedCapabilities = default, int? diskSizeGB = default, long? diskSizeBytes = default, string uniqueId = default, Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection encryptionSettingsCollection = default, string provisioningState = default, long? diskIOPSReadWrite = default, long? diskMBpsReadWrite = default, long? diskIOPSReadOnly = default, long? diskMBpsReadOnly = default, string diskState = default, Microsoft.Azure.Management.Compute.Models.Encryption encryption = default, int? maxShares = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ShareInfoElement> shareInfo = default, string networkAccessPolicy = default, string diskAccessId = default, DateTime? burstingEnabledTime = default, string tier = default, bool? burstingEnabled = default, Microsoft.Azure.Management.Compute.Models.PropertyUpdatesInProgress propertyUpdatesInProgress = default, bool? supportsHibernation = default, Microsoft.Azure.Management.Compute.Models.DiskSecurityProfile securityProfile = default, double? completionPercent = default, string publicNetworkAccess = default, string dataAccessAuthMode = default, bool? optimizedForFrequentAttach = default);
new Microsoft.Azure.Management.Compute.Models.Disk : string * Microsoft.Azure.Management.Compute.Models.CreationData * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Compute.Models.DiskSku * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Compute.Models.ExtendedLocation * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes> * string * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.SupportedCapabilities * Nullable<int> * Nullable<int64> * string * Microsoft.Azure.Management.Compute.Models.EncryptionSettingsCollection * string * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * string * Microsoft.Azure.Management.Compute.Models.Encryption * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ShareInfoElement> * string * string * Nullable<DateTime> * string * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.PropertyUpdatesInProgress * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.DiskSecurityProfile * Nullable<double> * string * string * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.Disk
Public Sub New (location As String, creationData As CreationData, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional managedBy As String = Nothing, Optional managedByExtended As IList(Of String) = Nothing, Optional sku As DiskSku = Nothing, Optional zones As IList(Of String) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional timeCreated As Nullable(Of DateTime) = Nothing, Optional osType As Nullable(Of OperatingSystemTypes) = Nothing, Optional hyperVGeneration As String = Nothing, Optional purchasePlan As PurchasePlan = Nothing, Optional supportedCapabilities As SupportedCapabilities = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional diskSizeBytes As Nullable(Of Long) = Nothing, Optional uniqueId As String = Nothing, Optional encryptionSettingsCollection As EncryptionSettingsCollection = Nothing, Optional provisioningState As String = 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 diskState As String = Nothing, Optional encryption As Encryption = Nothing, Optional maxShares As Nullable(Of Integer) = Nothing, Optional shareInfo As IList(Of ShareInfoElement) = Nothing, Optional networkAccessPolicy As String = Nothing, Optional diskAccessId As String = Nothing, Optional burstingEnabledTime As Nullable(Of DateTime) = Nothing, Optional tier As String = Nothing, Optional burstingEnabled As Nullable(Of Boolean) = Nothing, Optional propertyUpdatesInProgress As PropertyUpdatesInProgress = Nothing, Optional supportsHibernation As Nullable(Of Boolean) = Nothing, Optional securityProfile As DiskSecurityProfile = Nothing, Optional completionPercent As Nullable(Of Double) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional dataAccessAuthMode As String = Nothing, Optional optimizedForFrequentAttach As Nullable(Of Boolean) = Nothing)
参数
- location
- String
资源位置
- creationData
- CreationData
磁盘源信息。 创建磁盘后,无法更改创建数据信息。
- id
- String
资源 ID
- name
- String
资源名称
- type
- String
资源类型
- tags
- IDictionary<String,String>
资源标记
- managedBy
- String
包含附加了磁盘的 VM ID 的相对 URI。
包含附加了磁盘的 VM ID 的相对 URI 列表。 对于磁盘,maxShares 应设置为大于 1 的值,以允许将其附加到多个 VM。
- sku
- DiskSku
- extendedLocation
- ExtendedLocation
要在其中创建磁盘的扩展位置。 无法更改扩展位置。
- osType
- Nullable<OperatingSystemTypes>
操作系统类型。 可能的值包括:“Windows”、“Linux”
- hyperVGeneration
- String
虚拟机的虚拟机监控程序生成。 仅适用于 OS 磁盘。 可能的值包括:“V1”、“V2”
- purchasePlan
- PurchasePlan
从中创建 OS 磁盘的映像的购买计划信息。 例如 - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
- supportedCapabilities
- SupportedCapabilities
从中创建 OS 磁盘的映像支持的功能列表。
如果 creationData.createOption 为空,则此字段是必需的,它指示要创建的磁盘的大小。 如果存在此字段用于更新或创建其他选项,则表示调整大小。 仅当磁盘未附加到正在运行的 VM 时,才允许调整大小,并且只能增加磁盘的大小。
- uniqueId
- String
标识资源的唯一 Guid。
- encryptionSettingsCollection
- EncryptionSettingsCollection
用于 Azure 磁盘加密的加密设置集合可以包含每个磁盘或快照的多个加密设置。
- provisioningState
- String
磁盘预配状态。
此磁盘允许的带宽;只能为 UltraSSD 磁盘设置。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。
总吞吐量 (MBps) ,将允许跨所有 VM 装载共享磁盘为 ReadOnly。 MBps 表示每秒数百万字节 - 此处的 MB 使用 ISO 表示法,幂为 10。
- diskState
- String
磁盘的状态。 可能的值包括:“Unattached”、“Attached”、“Reserved”、“Frozen”、“ActiveSAS”、“ActiveSASFrozen”、“ReadyToUpload”、“ActiveUpload”
- encryption
- Encryption
加密属性可用于使用客户管理的密钥或平台管理的密钥加密静态数据。
- shareInfo
- IList<ShareInfoElement>
附加了磁盘的所有 VM 的列表的详细信息。 对于磁盘,maxShares 应设置为大于 1 的值,以允许将其附加到多个 VM。
- networkAccessPolicy
- String
可能的值包括:“AllowAll”、“AllowPrivate”、“DenyAll”
- diskAccessId
- String
用于在磁盘上使用专用终结点的 DiskAccess 资源的 ARM ID。
- tier
- String
磁盘的性能层 (例如 P4、S10) ,如此处所述: https://azure.microsoft.com/en-us/pricing/details/managed-disks/。 不适用于超级磁盘。
- propertyUpdatesInProgress
- PropertyUpdatesInProgress
等待更新的磁盘的属性。
- securityProfile
- DiskSecurityProfile
包含资源的安全相关信息。
- publicNetworkAccess
- String
可能的值包括:“Enabled”、“Disabled”
- dataAccessAuthMode
- String
可能的值包括:“AzureActiveDirectory”、“None”
将此属性设置为 true 可提高数据磁盘的可靠性和性能,这些磁盘通过从一个虚拟机分离并附加到另一个虚拟机,) 每天经常 (5 次以上。 不应为未频繁分离和附加的磁盘设置此属性,因为这会导致磁盘与虚拟机的容错域不一致。