你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RestorePointSourceVMDataDisk 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- name
- String
获取磁盘名称。
- caching
- Nullable<CachingTypes>
获取缓存类型。 可能的值包括:“None”、“ReadOnly”、“ReadWrite”
- managedDisk
- ManagedDiskParameters
包含托管磁盘详细信息。
- diskRestorePoint
- DiskRestorePointAttributes
包含磁盘还原点属性。