Share via


IaasVmProtectableItem Class

Definition

IaaS VM workload-specific backup item. Please note IaasVmProtectableItem 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 IaasClassicComputeVmProtectableItem and IaasComputeVmProtectableItem.

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

Constructors

IaasVmProtectableItem()

Initializes a new instance of IaasVmProtectableItem.

Properties

BackupManagementType

Type of backup management to backup an item.

(Inherited from WorkloadProtectableItem)
FriendlyName

Friendly name of the backup item.

(Inherited from WorkloadProtectableItem)
ProtectionState

State of the back up item.

(Inherited from WorkloadProtectableItem)
ResourceGroup

Resource group name of Recovery Services Vault.

VirtualMachineId

Fully qualified ARM ID of the virtual machine.

VirtualMachineVersion

Specifies whether the container represents a Classic or an Azure Resource Manager VM.

WorkloadType

Type of workload for the backup management.

(Inherited from WorkloadProtectableItem)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IaasVmProtectableItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<IaasVmProtectableItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<WorkloadProtectableItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from WorkloadProtectableItem)
IPersistableModel<IaasVmProtectableItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IaasVmProtectableItem>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<IaasVmProtectableItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<WorkloadProtectableItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from WorkloadProtectableItem)

Applies to