Share via


ProtectedItem Constructors

Definition

Overloads

ProtectedItem()

Initializes a new instance of the ProtectedItem class.

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

Initializes a new instance of the ProtectedItem class.

ProtectedItem()

Initializes a new instance of the ProtectedItem class.

public ProtectedItem ();
Public Sub New ()

Applies to

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

Initializes a new instance of the ProtectedItem class.

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)

Parameters

backupManagementType
String

Type of backup management for the backed up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', 'DefaultBackup'

workloadType
String

Type of workload this item represents. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'

containerName
String

Unique name of container

sourceResourceId
String

ARM ID of the resource to be backed up.

policyId
String

ID of the backup policy with which this item is backed up.

lastRecoveryPoint
Nullable<DateTime>

Timestamp when the last (latest) backup copy was created for this backup item.

backupSetName
String

Name of the backup set the backup item belongs to

createMode
String

Create mode to indicate recovery of existing soft deleted data source or creation of new data source. Possible values include: 'Invalid', 'Default', 'Recover'

deferredDeleteTimeInUTC
Nullable<DateTime>

Time for deferred deletion in UTC

isScheduledForDeferredDelete
Nullable<Boolean>

Flag to identify whether the DS is scheduled for deferred delete

deferredDeleteTimeRemaining
String

Time remaining before the DS marked for deferred delete is permanently deleted

isDeferredDeleteScheduleUpcoming
Nullable<Boolean>

Flag to identify whether the deferred deleted DS is to be purged soon

isRehydrate
Nullable<Boolean>

Flag to identify that deferred deleted DS is to be moved into Pause state

resourceGuardOperationRequests
IList<String>

ResourceGuardOperationRequests on which LAC check will be performed

Applies to