共用方式為


RecoveryServiceVaultProtectionIntent Class

Definition

Azure Recovery Services Vault specific protection intent item. Please note RecoveryServiceVaultProtectionIntent is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include WorkloadAutoProtectionIntent and WorkloadSqlAutoProtectionIntent.

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

Constructors

RecoveryServiceVaultProtectionIntent()

Initializes a new instance of RecoveryServiceVaultProtectionIntent.

Properties

BackupManagementType

Type of backup management for the backed up item.

(Inherited from BackupGenericProtectionIntent)
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<RecoveryServiceVaultProtectionIntent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RecoveryServiceVaultProtectionIntent>.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<RecoveryServiceVaultProtectionIntent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RecoveryServiceVaultProtectionIntent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RecoveryServiceVaultProtectionIntent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to