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

RestorePointSourceVMOSDisk 构造函数

定义

重载

RestorePointSourceVMOSDisk()

初始化 RestorePointSourceVMOSDisk 类的新实例。

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

初始化 RestorePointSourceVMOSDisk 类的新实例。

RestorePointSourceVMOSDisk()

初始化 RestorePointSourceVMOSDisk 类的新实例。

public RestorePointSourceVMOSDisk ();
Public Sub New ()

适用于

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

初始化 RestorePointSourceVMOSDisk 类的新实例。

public RestorePointSourceVMOSDisk (string osType = default, Microsoft.Azure.Management.Compute.Models.DiskEncryptionSettings encryptionSettings = 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.RestorePointSourceVMOSDisk : string * Microsoft.Azure.Management.Compute.Models.DiskEncryptionSettings * 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.RestorePointSourceVMOSDisk
Public Sub New (Optional osType As String = Nothing, Optional encryptionSettings As DiskEncryptionSettings = 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)

参数

osType
String

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

encryptionSettings
DiskEncryptionSettings

获取磁盘加密设置。

name
String

获取磁盘名称。

caching
Nullable<CachingTypes>

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

diskSizeGB
Nullable<Int32>

获取磁盘大小(以 GB 为单位)。

managedDisk
ManagedDiskParameters

获取托管磁盘详细信息

diskRestorePoint
DiskRestorePointAttributes

包含磁盘还原点属性。

writeAcceleratorEnabled
Nullable<Boolean>

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

适用于