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

IaaSVMProtectableItem 构造函数

定义

重载

IaaSVMProtectableItem()

初始化 IaaSVMProtectableItem 类的新实例。

IaaSVMProtectableItem(String, String, String, String, String, String, String)

初始化 IaaSVMProtectableItem 类的新实例。

IaaSVMProtectableItem()

初始化 IaaSVMProtectableItem 类的新实例。

public IaaSVMProtectableItem();
Public Sub New ()

适用于

IaaSVMProtectableItem(String, String, String, String, String, String, String)

初始化 IaaSVMProtectableItem 类的新实例。

public IaaSVMProtectableItem(string backupManagementType = default, string workloadType = default, string friendlyName = default, string protectionState = default, string virtualMachineId = default, string virtualMachineVersion = default, string resourceGroup = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.IaaSVMProtectableItem : string * string * string * string * string * string * string -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.IaaSVMProtectableItem
Public Sub New (Optional backupManagementType As String = Nothing, Optional workloadType As String = Nothing, Optional friendlyName As String = Nothing, Optional protectionState As String = Nothing, Optional virtualMachineId As String = Nothing, Optional virtualMachineVersion As String = Nothing, Optional resourceGroup As String = Nothing)

参数

backupManagementType
String

备份项的备份管理类型。

workloadType
String

备份管理的工作负荷类型

friendlyName
String

备份项的友好名称。

protectionState
String

备份项的状态。 可能的值包括:“Invalid”、“NotProtected”、“Protecting”、“Protected”、“ProtectionFailed”

virtualMachineId
String

虚拟机的完全限定的 ARM ID。

virtualMachineVersion
String

指定容器是表示经典 VM 还是 Azure 资源管理器 VM。

resourceGroup
String

恢复服务保管库的资源组名称。

适用于