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

RestorePointSourceVMDataDisk 构造函数

定义

重载

RestorePointSourceVMDataDisk()

初始化 RestorePointSourceVMDataDisk 类的新实例。

RestorePointSourceVMDataDisk(Nullable<Int32>, String, Nullable<CachingTypes>, Nullable<Int32>, ManagedDiskParameters, DiskRestorePointAttributes, Nullable<Boolean>)

初始化 RestorePointSourceVMDataDisk 类的新实例。

RestorePointSourceVMDataDisk()

初始化 RestorePointSourceVMDataDisk 类的新实例。

public RestorePointSourceVMDataDisk ();
Public Sub New ()

适用于

RestorePointSourceVMDataDisk(Nullable<Int32>, String, Nullable<CachingTypes>, Nullable<Int32>, ManagedDiskParameters, DiskRestorePointAttributes, Nullable<Boolean>)

初始化 RestorePointSourceVMDataDisk 类的新实例。

public RestorePointSourceVMDataDisk (int? lun = default, string name = default, Microsoft.Azure.Management.Compute.Models.CachingTypes? caching = default, int? diskSizeGB = default, Microsoft.Azure.Management.Compute.Models.ManagedDiskParameters managedDisk = default, Microsoft.Azure.Management.Compute.Models.DiskRestorePointAttributes diskRestorePoint = default, bool? writeAcceleratorEnabled = default);
new Microsoft.Azure.Management.Compute.Models.RestorePointSourceVMDataDisk : Nullable<int> * string * Nullable<Microsoft.Azure.Management.Compute.Models.CachingTypes> * Nullable<int> * Microsoft.Azure.Management.Compute.Models.ManagedDiskParameters * Microsoft.Azure.Management.Compute.Models.DiskRestorePointAttributes * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.RestorePointSourceVMDataDisk
Public Sub New (Optional lun As Nullable(Of Integer) = Nothing, Optional name As String = Nothing, Optional caching As Nullable(Of CachingTypes) = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional managedDisk As ManagedDiskParameters = Nothing, Optional diskRestorePoint As DiskRestorePointAttributes = Nothing, Optional writeAcceleratorEnabled As Nullable(Of Boolean) = Nothing)

参数

lun
Nullable<Int32>

获取逻辑单元号。

name
String

获取磁盘名称。

caching
Nullable<CachingTypes>

获取缓存类型。 可能的值包括:“None”、“ReadOnly”、“ReadWrite”

diskSizeGB
Nullable<Int32>

获取空白数据磁盘的初始磁盘大小(以 GB 为单位),以及现有 OS 和数据磁盘的新所需大小。

managedDisk
ManagedDiskParameters

包含托管磁盘详细信息。

diskRestorePoint
DiskRestorePointAttributes

包含磁盘还原点属性。

writeAcceleratorEnabled
Nullable<Boolean>

如果磁盘已启用写入加速器,则显示 true。

适用于