AzureSqlProtectedItem 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
AzureSqlProtectedItem() |
Initializes a new instance of the AzureSqlProtectedItem class. |
AzureSqlProtectedItem(String, String, String, String, String, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IList<String>, String, String, AzureSqlProtectedItemExtendedInfo) |
Initializes a new instance of the AzureSqlProtectedItem class. |
AzureSqlProtectedItem()
Initializes a new instance of the AzureSqlProtectedItem class.
public AzureSqlProtectedItem ();
Public Sub New ()
Applies to
AzureSqlProtectedItem(String, String, String, String, String, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IList<String>, String, String, AzureSqlProtectedItemExtendedInfo)
Initializes a new instance of the AzureSqlProtectedItem class.
public AzureSqlProtectedItem (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 protectedItemDataId = default, string protectionState = default, Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureSqlProtectedItemExtendedInfo extendedInfo = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureSqlProtectedItem : 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 * Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureSqlProtectedItemExtendedInfo -> Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureSqlProtectedItem
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 protectedItemDataId As String = Nothing, Optional protectionState As String = Nothing, Optional extendedInfo As AzureSqlProtectedItemExtendedInfo = 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
- protectedItemDataId
- String
Internal ID of a backup item. Used by Azure SQL Backup engine to contact Recovery Services.
- protectionState
- String
Backup state of the backed up item. Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
- extendedInfo
- AzureSqlProtectedItemExtendedInfo
Additional information for this backup item.
Applies to
Azure SDK for .NET