Dela via


VmWorkloadItem Class

Definition

Azure VM workload-specific workload item. Please note VmWorkloadItem 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 VmWorkloadSapAseDatabaseWorkloadItem, VmWorkloadSapAseSystemWorkloadItem, VmWorkloadSapHanaDatabaseWorkloadItem, VmWorkloadSapHanaSystemWorkloadItem, VmWorkloadSqlDatabaseWorkloadItem and VmWorkloadSqlInstanceWorkloadItem.

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

Constructors

VmWorkloadItem()

Initializes a new instance of VmWorkloadItem.

Properties

BackupManagementType

Type of backup management to backup an item.

(Inherited from WorkloadItem)
FriendlyName

Friendly name of the backup item.

(Inherited from WorkloadItem)
IsAutoProtectable

Indicates if workload item is auto-protectable.

ParentName

Name for instance or AG.

ProtectionState

State of the back up item.

(Inherited from WorkloadItem)
ServerName

Host/Cluster Name for instance or AG.

SubInquiredItemCount

For instance or AG, indicates number of DB's present.

SubWorkloadItemCount

For instance or AG, indicates number of DB's to be protected.

WorkloadType

Type of workload for the backup management.

(Inherited from WorkloadItem)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VmWorkloadItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VmWorkloadItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<WorkloadItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from WorkloadItem)
IPersistableModel<VmWorkloadItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VmWorkloadItem>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VmWorkloadItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<WorkloadItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from WorkloadItem)

Applies to