Condividi tramite


AzureSqlProtectedItem Constructors

Definition

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>, Nullable<Boolean>, 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>, Nullable<Boolean>, 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, bool? isArchiveEnabled = default, string policyName = default, string protectedItemDataId = default, string protectionState = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureSqlProtectedItemExtendedInfo extendedInfo = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.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> * Nullable<bool> * string * string * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureSqlProtectedItemExtendedInfo -> Microsoft.Azure.Management.RecoveryServices.Backup.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 isArchiveEnabled As Nullable(Of Boolean) = Nothing, Optional policyName As 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.

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

isArchiveEnabled
Nullable<Boolean>

Flag to identify whether datasource is protected in archive

policyName
String

Name of the policy used for protection

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