你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ProtectedItem 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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。
- backupSetName
- String
备份项所属的备份集的名称
- createMode
- String
创建模式,指示恢复现有软删除的数据源或创建新数据源。 可能的值包括:“Invalid”、“Default”、“Recover”
- deferredDeleteTimeRemaining
- String
永久删除标记为延迟删除的 DS 之前的剩余时间