Поделиться через


ResourceProtectionIntent Class

Definition

IaaS VM specific backup protection intent item.

public class ResourceProtectionIntent : Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectionIntent, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesBackup.Models.ResourceProtectionIntent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesBackup.Models.ResourceProtectionIntent>
type ResourceProtectionIntent = class
    inherit BackupGenericProtectionIntent
    interface IJsonModel<ResourceProtectionIntent>
    interface IPersistableModel<ResourceProtectionIntent>
Public Class ResourceProtectionIntent
Inherits BackupGenericProtectionIntent
Implements IJsonModel(Of ResourceProtectionIntent), IPersistableModel(Of ResourceProtectionIntent)
Inheritance
ResourceProtectionIntent
Implements

Constructors

ResourceProtectionIntent()

Initializes a new instance of ResourceProtectionIntent.

Properties

BackupManagementType

Type of backup management for the backed up item.

(Inherited from BackupGenericProtectionIntent)
FriendlyName

Friendly name of the VM represented by this backup item.

ItemId

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

(Inherited from BackupGenericProtectionIntent)
PolicyId

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

(Inherited from BackupGenericProtectionIntent)
ProtectionState

Backup state of this backup item.

(Inherited from BackupGenericProtectionIntent)
SourceResourceId

ARM ID of the resource to be backed up.

(Inherited from BackupGenericProtectionIntent)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BackupGenericProtectionIntent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from BackupGenericProtectionIntent)
IJsonModel<BackupGenericProtectionIntent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from BackupGenericProtectionIntent)
IJsonModel<ResourceProtectionIntent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ResourceProtectionIntent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BackupGenericProtectionIntent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from BackupGenericProtectionIntent)
IPersistableModel<BackupGenericProtectionIntent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from BackupGenericProtectionIntent)
IPersistableModel<BackupGenericProtectionIntent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from BackupGenericProtectionIntent)
IPersistableModel<ResourceProtectionIntent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceProtectionIntent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ResourceProtectionIntent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to