GenericProtectedItem Class

Base class for backup items.

Constructor

GenericProtectedItem()

Variables

Name Description
backupManagementType
Union[str, <xref:"BackupManagementType">]

Type of backup management for the backed up item. Known values are: "Invalid", "AzureIaasVM", "MAB", "DPM", "AzureBackupServer", "AzureSql", "AzureStorage", "AzureWorkload", and "DefaultBackup".

workloadType
Union[str, <xref:"DataSourceType">]

Type of workload this item represents. Known values are: "Invalid", "VM", "FileFolder", "AzureSqlDb", "SQLDB", "Exchange", "Sharepoint", "VMwareVM", "SystemState", "Client", "GenericDataSource", "SQLDataBase", "AzureFileShare", "SAPHanaDatabase", "SAPAseDatabase", and "SAPHanaDBInstance".

containerName
str

Unique name of container.

sourceResourceId
str

ARM ID of the resource to be backed up.

policyId
str

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

lastRecoveryPoint
str

Timestamp when the last (latest) backup copy was created for this backup item.

backupSetName
str

Name of the backup set the backup item belongs to.

createMode
Union[str, <xref:"CreateMode">]

Create mode to indicate recovery of existing soft deleted data source or creation of new data source. Known values are: "Invalid", "Default", and "Recover".

deferredDeleteTimeInUTC
str

Time for deferred deletion in UTC.

isScheduledForDeferredDelete

Flag to identify whether the DS is scheduled for deferred delete.

deferredDeleteTimeRemaining
str

Time remaining before the DS marked for deferred delete is permanently deleted.

isDeferredDeleteScheduleUpcoming

Flag to identify whether the deferred deleted DS is to be purged soon.

isRehydrate

Flag to identify that deferred deleted DS is to be moved into Pause state.

resourceGuardOperationRequests

ResourceGuardOperationRequests on which LAC check will be performed.

isArchiveEnabled

Flag to identify whether datasource is protected in archive.

policyName
str

Name of the policy used for protection.

softDeleteRetentionPeriodInDays
int

Soft delete retention period in days.

sourceLocation
str

Source location of the protected item datasource.

vaultId
str

ID of the vault which protects this item.

sourceSideScanInfo
<xref:<xref:"SourceSideScanInfo">>

Source side threat information.

friendlyName
str

Friendly name of the container.

policyState
str

Indicates consistency of policy object and policy applied to this backup item.

protectionState
Union[str, <xref:"ProtectionState">]

Backup state of this backup item. Known values are: "Invalid", "IRPending", "Protected", "ProtectionError", "ProtectionStopped", "ProtectionPaused", and "BackupsSuspended".

protectedItemId
int

Data Plane Service ID of the protected item.

sourceAssociations

Loosely coupled (type, value) associations (example - parent of a protected item).

fabricName
str

Name of this backup item's fabric.

protectedItemType
Literal["GenericProtectedItem"]

backup item type. Required. Default value is "GenericProtectedItem".

Attributes

backupManagementType

"Invalid", "AzureIaasVM", "MAB", "DPM", "AzureBackupServer", "AzureSql", "AzureStorage", "AzureWorkload", and "DefaultBackup".

backupManagementType: str | BackupManagementType

backupSetName

Name of the backup set the backup item belongs to.

backupSetName: str

containerName

Unique name of container.

containerName: str

createMode

Create mode to indicate recovery of existing soft deleted data source or creation of new data source. Known values are: "Invalid", "Default", and "Recover".

createMode: str | CreateMode

deferredDeleteTimeInUTC

Time for deferred deletion in UTC.

deferredDeleteTimeInUTC: str

deferredDeleteTimeRemaining

Time remaining before the DS marked for deferred delete is permanently deleted.

deferredDeleteTimeRemaining: str

fabricName

Name of this backup item's fabric.

fabricName: str

friendlyName

Friendly name of the container.

friendlyName: str

isArchiveEnabled

Flag to identify whether datasource is protected in archive.

isArchiveEnabled: bool

isDeferredDeleteScheduleUpcoming

Flag to identify whether the deferred deleted DS is to be purged soon.

isDeferredDeleteScheduleUpcoming: bool

isRehydrate

Flag to identify that deferred deleted DS is to be moved into Pause state.

isRehydrate: bool

isScheduledForDeferredDelete

Flag to identify whether the DS is scheduled for deferred delete.

isScheduledForDeferredDelete: bool

lastRecoveryPoint

Timestamp when the last (latest) backup copy was created for this backup item.

lastRecoveryPoint: str

policyId

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

policyId: str

policyName

Name of the policy used for protection.

policyName: str

policyState

Indicates consistency of policy object and policy applied to this backup item.

policyState: str

protectedItemId

Data Plane Service ID of the protected item.

protectedItemId: int

protectedItemType

backup item type. Required. Default value is "GenericProtectedItem".

protectedItemType: Required[Literal['GenericProtectedItem']]

protectionState

"Invalid", "IRPending", "Protected", "ProtectionError", "ProtectionStopped", "ProtectionPaused", and "BackupsSuspended".

protectionState: str | ProtectionState

resourceGuardOperationRequests

ResourceGuardOperationRequests on which LAC check will be performed.

resourceGuardOperationRequests: list[str]

softDeleteRetentionPeriodInDays

Soft delete retention period in days.

softDeleteRetentionPeriodInDays: int

sourceAssociations

Loosely coupled (type, value) associations (example - parent of a protected item).

sourceAssociations: dict[str, str]

sourceLocation

Source location of the protected item datasource.

sourceLocation: str

sourceResourceId

ARM ID of the resource to be backed up.

sourceResourceId: str

sourceSideScanInfo

Source side threat information.

sourceSideScanInfo: SourceSideScanInfo

vaultId

ID of the vault which protects this item.

vaultId: str

workloadType

"Invalid", "VM", "FileFolder", "AzureSqlDb", "SQLDB", "Exchange", "Sharepoint", "VMwareVM", "SystemState", "Client", "GenericDataSource", "SQLDataBase", "AzureFileShare", "SAPHanaDatabase", "SAPAseDatabase", and "SAPHanaDBInstance".

workloadType: str | DataSourceType