AzureSqlProtectedItem Class

Definition

Azure SQL workload-specific backup item.

[Newtonsoft.Json.JsonObject("Microsoft.Sql/servers/databases")]
public class AzureSqlProtectedItem : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItem
[<Newtonsoft.Json.JsonObject("Microsoft.Sql/servers/databases")>]
type AzureSqlProtectedItem = class
    inherit ProtectedItem
Public Class AzureSqlProtectedItem
Inherits ProtectedItem
Inheritance
AzureSqlProtectedItem
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

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.

Properties

BackupManagementType

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

(Inherited from ProtectedItem)
BackupSetName

Gets or sets name of the backup set the backup item belongs to

(Inherited from ProtectedItem)
ContainerName

Gets or sets unique name of container

(Inherited from ProtectedItem)
CreateMode

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

(Inherited from ProtectedItem)
DeferredDeleteTimeInUTC

Gets or sets time for deferred deletion in UTC

(Inherited from ProtectedItem)
DeferredDeleteTimeRemaining

Gets or sets time remaining before the DS marked for deferred delete is permanently deleted

(Inherited from ProtectedItem)
ExtendedInfo

Gets or sets additional information for this backup item.

IsArchiveEnabled

Gets or sets flag to identify whether datasource is protected in archive

(Inherited from ProtectedItem)
IsDeferredDeleteScheduleUpcoming

Gets or sets flag to identify whether the deferred deleted DS is to be purged soon

(Inherited from ProtectedItem)
IsRehydrate

Gets or sets flag to identify that deferred deleted DS is to be moved into Pause state

(Inherited from ProtectedItem)
IsScheduledForDeferredDelete

Gets or sets flag to identify whether the DS is scheduled for deferred delete

(Inherited from ProtectedItem)
LastRecoveryPoint

Gets or sets timestamp when the last (latest) backup copy was created for this backup item.

(Inherited from ProtectedItem)
PolicyId

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

(Inherited from ProtectedItem)
PolicyName

Gets or sets name of the policy used for protection

(Inherited from ProtectedItem)
ProtectedItemDataId

Gets or sets internal ID of a backup item. Used by Azure SQL Backup engine to contact Recovery Services.

ProtectionState

Gets or sets backup state of the backed up item. Possible values include: 'Invalid', 'IRPending', 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'

ResourceGuardOperationRequests

Gets or sets resourceGuardOperationRequests on which LAC check will be performed

(Inherited from ProtectedItem)
SourceResourceId

Gets or sets ARM ID of the resource to be backed up.

(Inherited from ProtectedItem)
WorkloadType

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

(Inherited from ProtectedItem)

Applies to