共用方式為


AzureResourceProtectionIntent Class

Definition

IaaS VM specific backup protection intent item.

[Newtonsoft.Json.JsonObject("AzureResourceItem")]
public class AzureResourceProtectionIntent : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntent
[<Newtonsoft.Json.JsonObject("AzureResourceItem")>]
type AzureResourceProtectionIntent = class
    inherit ProtectionIntent
Public Class AzureResourceProtectionIntent
Inherits ProtectionIntent
Inheritance
AzureResourceProtectionIntent
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

AzureResourceProtectionIntent()

Initializes a new instance of the AzureResourceProtectionIntent class.

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

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

(Inherited from ProtectionIntent)
FriendlyName

Gets or sets friendly name of the VM represented by this backup item.

ItemId

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

(Inherited from ProtectionIntent)
PolicyId

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

(Inherited from ProtectionIntent)
ProtectionState

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

(Inherited from ProtectionIntent)
SourceResourceId

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

(Inherited from ProtectionIntent)

Applies to