GenericProtectedItem Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GenericProtectedItem() |
Initializes a new instance of the GenericProtectedItem class. |
GenericProtectedItem(String, String, String, String, String, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IList<String>, Nullable<Boolean>, String, String, String, String, Nullable<Int64>, IDictionary<String, String>, String) |
Initializes a new instance of the GenericProtectedItem class. |
GenericProtectedItem()
Initializes a new instance of the GenericProtectedItem class.
public GenericProtectedItem ();
Public Sub New ()
Applies to
GenericProtectedItem(String, String, String, String, String, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IList<String>, Nullable<Boolean>, String, String, String, String, Nullable<Int64>, IDictionary<String, String>, String)
Initializes a new instance of the GenericProtectedItem class.
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, bool? isArchiveEnabled = default, string policyName = 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.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> * Nullable<bool> * string * string * string * string * Nullable<int64> * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.Management.RecoveryServices.Backup.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 isArchiveEnabled As Nullable(Of Boolean) = Nothing, Optional policyName As 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)
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.
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'
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
Flag to identify whether the deferred deleted DS is to be purged soon
Flag to identify that deferred deleted DS is to be moved into Pause state
ResourceGuardOperationRequests on which LAC check will be performed
- policyName
- String
Name of the policy used for protection
- friendlyName
- String
Friendly name of the container.
- policyState
- String
Indicates consistency of policy object and policy applied to this backup item.
- protectionState
- String
Backup state of this backup item. Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
- sourceAssociations
- IDictionary<String,String>
Loosely coupled (type, value) associations (example - parent of a protected item)
- fabricName
- String
Name of this backup item's fabric.