你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AzureIaaSComputeVMProtectedItem 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AzureIaaSComputeVMProtectedItem()
初始化 AzureIaaSComputeVMProtectedItem 类的新实例。
public AzureIaaSComputeVMProtectedItem ();
Public Sub New ()
适用于
AzureIaaSComputeVMProtectedItem(String, String, String, String, String, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IList<String>, String, String, String, String, String, IList<AzureIaaSVMHealthDetails>, IDictionary<String,KPIResourceHealthDetails>, String, Nullable<DateTime>, String, AzureIaaSVMProtectedItemExtendedInfo, ExtendedProperties)
初始化 AzureIaaSComputeVMProtectedItem 类的新实例。
public AzureIaaSComputeVMProtectedItem (string backupManagementType = default, string workloadType = default, string containerName = default, string sourceResourceId = default, string policyId = default, DateTime? lastRecoveryPoint = default, string backupSetName = default, string createMode = default, DateTime? deferredDeleteTimeInUTC = default, bool? isScheduledForDeferredDelete = default, string deferredDeleteTimeRemaining = default, bool? isDeferredDeleteScheduleUpcoming = default, bool? isRehydrate = default, System.Collections.Generic.IList<string> resourceGuardOperationRequests = default, string friendlyName = default, string virtualMachineId = default, string protectionStatus = default, string protectionState = default, string healthStatus = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureIaaSVMHealthDetails> healthDetails = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.KPIResourceHealthDetails> kpisHealths = default, string lastBackupStatus = default, DateTime? lastBackupTime = default, string protectedItemDataId = default, Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureIaaSVMProtectedItemExtendedInfo extendedInfo = default, Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.ExtendedProperties extendedProperties = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureIaaSComputeVMProtectedItem : string * string * string * string * string * Nullable<DateTime> * string * string * Nullable<DateTime> * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<string> * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureIaaSVMHealthDetails> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.KPIResourceHealthDetails> * string * Nullable<DateTime> * string * Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureIaaSVMProtectedItemExtendedInfo * Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.ExtendedProperties -> Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureIaaSComputeVMProtectedItem
Public Sub New (Optional backupManagementType As String = Nothing, Optional workloadType As String = Nothing, Optional containerName As String = Nothing, Optional sourceResourceId As String = Nothing, Optional policyId As String = Nothing, Optional lastRecoveryPoint As Nullable(Of DateTime) = Nothing, Optional backupSetName As String = Nothing, Optional createMode As String = Nothing, Optional deferredDeleteTimeInUTC As Nullable(Of DateTime) = Nothing, Optional isScheduledForDeferredDelete As Nullable(Of Boolean) = Nothing, Optional deferredDeleteTimeRemaining As String = Nothing, Optional isDeferredDeleteScheduleUpcoming As Nullable(Of Boolean) = Nothing, Optional isRehydrate As Nullable(Of Boolean) = Nothing, Optional resourceGuardOperationRequests As IList(Of String) = Nothing, Optional friendlyName As String = Nothing, Optional virtualMachineId As String = Nothing, Optional protectionStatus As String = Nothing, Optional protectionState As String = Nothing, Optional healthStatus As String = Nothing, Optional healthDetails As IList(Of AzureIaaSVMHealthDetails) = Nothing, Optional kpisHealths As IDictionary(Of String, KPIResourceHealthDetails) = Nothing, Optional lastBackupStatus As String = Nothing, Optional lastBackupTime As Nullable(Of DateTime) = Nothing, Optional protectedItemDataId As String = Nothing, Optional extendedInfo As AzureIaaSVMProtectedItemExtendedInfo = Nothing, Optional extendedProperties As ExtendedProperties = Nothing)
参数
- backupManagementType
- String
备份项的备份管理类型。 可能的值包括:“Invalid”、“AzureIaasVM”、“MAB”、“DPM”、“AzureBackupServer”、“AzureSql”、“AzureStorage”、“AzureWorkload”、“DefaultBackup”
- workloadType
- String
此项表示的工作负荷的类型。 可能的值包括:“Invalid”、“VM”、“FileFolder”、“AzureSqlDb”、“SQLDB”、“Exchange”、“Sharepoint”、“VMwareVM”、“SystemState”、“Client”、“GenericDataSource”、“SQLDataBase”、“AzureFileShare”、“SAPHanaDatabase”、“SAPAseDatabase”
- containerName
- String
容器的唯一名称
- sourceResourceId
- String
要备份的资源的 ARM ID。
- policyId
- String
用于备份此项的备份策略的 ID。
- backupSetName
- String
备份项所属的备份集的名称
- createMode
- String
创建模式,指示恢复现有软删除的数据源或创建新数据源。 可能的值包括:“Invalid”、“Default”、“Recover”
- deferredDeleteTimeRemaining
- String
永久删除标记为延迟删除的 DS 之前的剩余时间
- friendlyName
- String
此备份项表示的 VM 的友好名称。
- virtualMachineId
- String
此项表示的虚拟机的完全限定 ARM ID。
- protectionStatus
- String
此备份项的备份状态。
- protectionState
- String
此备份项的备份状态。 可能的值包括:“Invalid”、“IRPending”、“Protected”、“ProtectionError”、“ProtectionStopped”、“ProtectionPaused”
- healthStatus
- String
受保护项的运行状况状态。 可能的值包括:“Passed”、“ActionRequired”、“ActionSuggested”、“Invalid”
- healthDetails
- IList<AzureIaaSVMHealthDetails>
有关此备份项的运行状况详细信息。
- kpisHealths
- IDictionary<String,KPIResourceHealthDetails>
不同 KPI 的运行状况详细信息
- lastBackupStatus
- String
上次备份操作状态。
- protectedItemDataId
- String
受保护项的数据 ID。
- extendedInfo
- AzureIaaSVMProtectedItemExtendedInfo
有关此备份项的其他信息。
- extendedProperties
- ExtendedProperties