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

ProtectedItem 构造函数

定义

重载

ProtectedItem()

初始化 ProtectedItem 类的新实例。

ProtectedItem(String, String, String, String, String, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IList<String>)

初始化 ProtectedItem 类的新实例。

ProtectedItem()

初始化 ProtectedItem 类的新实例。

public ProtectedItem ();
Public Sub New ()

适用于

ProtectedItem(String, String, String, String, String, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IList<String>)

初始化 ProtectedItem 类的新实例。

public ProtectedItem (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);
new Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.ProtectedItem : string * string * string * string * string * Nullable<DateTime> * string * string * Nullable<DateTime> * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.ProtectedItem
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)

参数

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。

lastRecoveryPoint
Nullable<DateTime>

为此备份项创建最后 (最新) 备份副本时的时间戳。

backupSetName
String

备份项所属的备份集的名称

createMode
String

创建模式,指示恢复现有软删除的数据源或创建新数据源。 可能的值包括:“Invalid”、“Default”、“Recover”

deferredDeleteTimeInUTC
Nullable<DateTime>

以 UTC 表示的延迟删除时间

isScheduledForDeferredDelete
Nullable<Boolean>

用于标识 DS 是否计划延迟删除的标志

deferredDeleteTimeRemaining
String

永久删除标记为延迟删除的 DS 之前的剩余时间

isDeferredDeleteScheduleUpcoming
Nullable<Boolean>

标识是否要很快清除延迟删除的 DS 的标志

isRehydrate
Nullable<Boolean>

用于标识延迟删除的 DS 将移动到“暂停”状态的标志

resourceGuardOperationRequests
IList<String>

将对其执行 LAC 检查的 ResourceGuardOperationRequests

适用于