ProtectedItem Class

Definition

Base class for backup items.

public class ProtectedItem
type ProtectedItem = class
Public Class ProtectedItem
Inheritance
ProtectedItem
Derived

Constructors

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>, Nullable<Boolean>, String)

Initializes a new instance of the ProtectedItem 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'

BackupSetName

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

ContainerName

Gets or sets unique name of container

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'

DeferredDeleteTimeInUTC

Gets or sets time for deferred deletion in UTC

DeferredDeleteTimeRemaining

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

IsArchiveEnabled

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

IsDeferredDeleteScheduleUpcoming

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

IsRehydrate

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

IsScheduledForDeferredDelete

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

LastRecoveryPoint

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

PolicyId

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

PolicyName

Gets or sets name of the policy used for protection

ResourceGuardOperationRequests

Gets or sets resourceGuardOperationRequests on which LAC check will be performed

SourceResourceId

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

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'

Applies to