Delen via


AzureResourceProtectionIntent Constructors

Definition

Overloads

AzureResourceProtectionIntent()

Initializes a new instance of the AzureResourceProtectionIntent class.

AzureResourceProtectionIntent(String, String, String, String, String, String)

Initializes a new instance of the AzureResourceProtectionIntent class.

AzureResourceProtectionIntent()

Initializes a new instance of the AzureResourceProtectionIntent class.

public AzureResourceProtectionIntent ();
Public Sub New ()

Applies to

AzureResourceProtectionIntent(String, String, String, String, String, String)

Initializes a new instance of the AzureResourceProtectionIntent class.

public AzureResourceProtectionIntent (string backupManagementType = default, string sourceResourceId = default, string itemId = default, string policyId = default, string protectionState = default, string friendlyName = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureResourceProtectionIntent : string * string * string * string * string * string -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureResourceProtectionIntent
Public Sub New (Optional backupManagementType As String = Nothing, Optional sourceResourceId As String = Nothing, Optional itemId As String = Nothing, Optional policyId As String = Nothing, Optional protectionState As String = Nothing, Optional friendlyName As String = Nothing)

Parameters

backupManagementType
String

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

sourceResourceId
String

ARM ID of the resource to be backed up.

itemId
String

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

policyId
String

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

protectionState
String

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

friendlyName
String

Friendly name of the VM represented by this backup item.

Applies to