Condividi tramite


ProtectionIntent Class

Definition

Base class for backup ProtectionIntent.

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

Constructors

ProtectionIntent()

Initializes a new instance of the ProtectionIntent class.

ProtectionIntent(String, String, String, String, String)

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

ItemId

Gets or sets ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

PolicyId

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

ProtectionState

Gets or sets backup state of this backup item. Possible values include: 'Invalid', 'NotProtected', 'Protecting', 'Protected', 'ProtectionFailed'

SourceResourceId

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

Applies to