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

GenericProtectedItem 构造函数

定义

重载

GenericProtectedItem()

初始化 GenericProtectedItem 类的新实例。

GenericProtectedItem(String, String, String, String, String, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IList<String>, String, String, String, Nullable<Int64>, IDictionary<String,String>, String)

初始化 GenericProtectedItem 类的新实例。

GenericProtectedItem()

初始化 GenericProtectedItem 类的新实例。

public GenericProtectedItem ();
Public Sub New ()

适用于

GenericProtectedItem(String, String, String, String, String, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IList<String>, String, String, String, Nullable<Int64>, IDictionary<String,String>, String)

初始化 GenericProtectedItem 类的新实例。

public GenericProtectedItem (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 policyState = default, string protectionState = default, long? protectedItemId = default, System.Collections.Generic.IDictionary<string,string> sourceAssociations = default, string fabricName = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.GenericProtectedItem : 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 * Nullable<int64> * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.GenericProtectedItem
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 policyState As String = Nothing, Optional protectionState As String = Nothing, Optional protectedItemId As Nullable(Of Long) = Nothing, Optional sourceAssociations As IDictionary(Of String, String) = Nothing, Optional fabricName As 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

friendlyName
String

易记的容器名称。

policyState
String

指示应用于此备份项的策略对象和策略的一致性。

protectionState
String

此备份项的备份状态。 可能的值包括:“Invalid”、“IRPending”、“Protected”、“ProtectionError”、“ProtectionStopped”、“ProtectionPaused”

protectedItemId
Nullable<Int64>

受保护项的数据平面服务 ID。

sourceAssociations
IDictionary<String,String>

松散耦合 (类型、值) 关联 (示例 - 受保护项的父项)

fabricName
String

此备份项的结构的名称。

适用于