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

RestorePointSourceMetadata 构造函数

定义

重载

RestorePointSourceMetadata()

初始化 RestorePointSourceMetadata 类的新实例。

RestorePointSourceMetadata(HardwareProfile, RestorePointSourceVMStorageProfile, OSProfile, DiagnosticsProfile, String, String, SecurityProfile, String, String, String)

初始化 RestorePointSourceMetadata 类的新实例。

RestorePointSourceMetadata()

初始化 RestorePointSourceMetadata 类的新实例。

public RestorePointSourceMetadata ();
Public Sub New ()

适用于

RestorePointSourceMetadata(HardwareProfile, RestorePointSourceVMStorageProfile, OSProfile, DiagnosticsProfile, String, String, SecurityProfile, String, String, String)

初始化 RestorePointSourceMetadata 类的新实例。

public RestorePointSourceMetadata (Microsoft.Azure.Management.Compute.Models.HardwareProfile hardwareProfile = default, Microsoft.Azure.Management.Compute.Models.RestorePointSourceVMStorageProfile storageProfile = default, Microsoft.Azure.Management.Compute.Models.OSProfile osProfile = default, Microsoft.Azure.Management.Compute.Models.DiagnosticsProfile diagnosticsProfile = default, string licenseType = default, string vmId = default, Microsoft.Azure.Management.Compute.Models.SecurityProfile securityProfile = default, string location = default, string userData = default, string hyperVGeneration = default);
new Microsoft.Azure.Management.Compute.Models.RestorePointSourceMetadata : Microsoft.Azure.Management.Compute.Models.HardwareProfile * Microsoft.Azure.Management.Compute.Models.RestorePointSourceVMStorageProfile * Microsoft.Azure.Management.Compute.Models.OSProfile * Microsoft.Azure.Management.Compute.Models.DiagnosticsProfile * string * string * Microsoft.Azure.Management.Compute.Models.SecurityProfile * string * string * string -> Microsoft.Azure.Management.Compute.Models.RestorePointSourceMetadata
Public Sub New (Optional hardwareProfile As HardwareProfile = Nothing, Optional storageProfile As RestorePointSourceVMStorageProfile = Nothing, Optional osProfile As OSProfile = Nothing, Optional diagnosticsProfile As DiagnosticsProfile = Nothing, Optional licenseType As String = Nothing, Optional vmId As String = Nothing, Optional securityProfile As SecurityProfile = Nothing, Optional location As String = Nothing, Optional userData As String = Nothing, Optional hyperVGeneration As String = Nothing)

参数

hardwareProfile
HardwareProfile

获取硬件配置文件。

storageProfile
RestorePointSourceVMStorageProfile

获取存储配置文件。

osProfile
OSProfile

获取 OS 配置文件。

diagnosticsProfile
DiagnosticsProfile

获取诊断配置文件。

licenseType
String

获取许可证类型,该类型用于自带许可证方案。

vmId
String

获取虚拟机的唯一 ID。

securityProfile
SecurityProfile

获取安全配置文件。

location
String

从中创建还原点的 VM 的位置。

userData
String

与捕获还原点的源 VM 关联的 UserData,这是一个 base-64 编码值。

hyperVGeneration
String

为其捕获还原点的源 VM 的 HyperV 生成。 可能的值包括:“V1”、“V2”

适用于