Dela via


AzureWorkloadAutoProtectionIntent Constructors

Definition

Overloads

AzureWorkloadAutoProtectionIntent()

Initializes a new instance of the AzureWorkloadAutoProtectionIntent class.

AzureWorkloadAutoProtectionIntent(String, String, String, String, String)

Initializes a new instance of the AzureWorkloadAutoProtectionIntent class.

AzureWorkloadAutoProtectionIntent()

Initializes a new instance of the AzureWorkloadAutoProtectionIntent class.

public AzureWorkloadAutoProtectionIntent ();
Public Sub New ()

Applies to

AzureWorkloadAutoProtectionIntent(String, String, String, String, String)

Initializes a new instance of the AzureWorkloadAutoProtectionIntent class.

public AzureWorkloadAutoProtectionIntent (string backupManagementType = default, string sourceResourceId = default, string itemId = default, string policyId = default, string protectionState = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureWorkloadAutoProtectionIntent : string * string * string * string * string -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureWorkloadAutoProtectionIntent
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)

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'

Applies to