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


WorkloadContainerAutoProtectionIntent Class

Definition

Azure workload specific protection intent item.

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

Constructors

WorkloadContainerAutoProtectionIntent()

Initializes a new instance of WorkloadContainerAutoProtectionIntent.

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<WorkloadContainerAutoProtectionIntent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Converts the provided BinaryData into a model.

IPersistableModel<WorkloadContainerAutoProtectionIntent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WorkloadContainerAutoProtectionIntent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to