Dela via


BackupGenericProtectionIntent Class

Definition

Base class for backup ProtectionIntent. Please note BackupGenericProtectionIntent is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ResourceProtectionIntent, WorkloadAutoProtectionIntent, WorkloadContainerAutoProtectionIntent, WorkloadSqlAutoProtectionIntent and RecoveryServiceVaultProtectionIntent.

public abstract class BackupGenericProtectionIntent
type BackupGenericProtectionIntent = class
Public MustInherit Class BackupGenericProtectionIntent
Inheritance
BackupGenericProtectionIntent
Derived

Constructors

BackupGenericProtectionIntent()

Initializes a new instance of BackupGenericProtectionIntent.

Properties

BackupManagementType

Type of backup management for the backed up item.

ItemId

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId.

PolicyId

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

ProtectionState

Backup state of this backup item.

SourceResourceId

ARM ID of the resource to be backed up.

Applies to