WorkloadItem Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for backup item. Workload-specific backup items are derived from this class. Please note this is the abstract base class. The derived classes available for instantiation are: VmWorkloadItem, VmWorkloadSapAseDatabaseWorkloadItem, VmWorkloadSapAseSystemWorkloadItem, VmWorkloadSapHanaDatabaseWorkloadItem, VmWorkloadSapHanaSystemWorkloadItem, VmWorkloadSqlDatabaseWorkloadItem, and VmWorkloadSqlInstanceWorkloadItem.
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.RecoveryServicesBackup.Models.UnknownWorkloadItem))]
public abstract class WorkloadItem : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadItem>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadItem>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.RecoveryServicesBackup.Models.UnknownWorkloadItem))>]
type WorkloadItem = class
interface IJsonModel<WorkloadItem>
interface IPersistableModel<WorkloadItem>
Public MustInherit Class WorkloadItem
Implements IJsonModel(Of WorkloadItem), IPersistableModel(Of WorkloadItem)
- Inheritance
-
WorkloadItem
- Derived
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| WorkloadItem() |
Initializes a new instance of WorkloadItem for deserialization. |
Properties
| Name | Description |
|---|---|
| BackupManagementType |
Type of backup management to backup an item. |
| FriendlyName |
Friendly name of the backup item. |
| ProtectionState |
State of the back up item. |
| WorkloadType |
Type of workload for the backup management. |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<WorkloadItem>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<WorkloadItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<WorkloadItem>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<WorkloadItem>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<WorkloadItem>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |