Dela via


VmWorkloadProtectableItem Class

Definition

Azure VM workload-specific protectable item. Please note VmWorkloadProtectableItem 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 VmWorkloadSapHanaHsrProtectableItem, VmWorkloadSapAseSystemProtectableItem, VmWorkloadSapHanaDatabaseProtectableItem, VmWorkloadSapHanaDBInstance, VmWorkloadSapHanaSystemProtectableItem, VmWorkloadSqlAvailabilityGroupProtectableItem, VmWorkloadSqlDatabaseProtectableItem and VmWorkloadSqlInstanceProtectableItem.

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

Constructors

VmWorkloadProtectableItem()

Initializes a new instance of VmWorkloadProtectableItem.

Properties

BackupManagementType

Type of backup management to backup an item.

(Inherited from WorkloadProtectableItem)
FriendlyName

Friendly name of the backup item.

(Inherited from WorkloadProtectableItem)
IsAutoProtectable

Indicates if protectable item is auto-protectable.

IsAutoProtected

Indicates if protectable item is auto-protected.

IsProtectable

Indicates if item is protectable.

ParentName

Name for instance or AG.

ParentUniqueName

Parent Unique Name is added to provide the service formatted URI Name of the Parent Only Applicable for data bases where the parent would be either Instance or a SQL AG.

PreBackupValidation

Pre-backup validation for protectable objects.

ProtectionState

State of the back up item.

(Inherited from WorkloadProtectableItem)
ServerName

Host/Cluster Name for instance or AG.

SubInquiredItemCount

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

SubProtectableItemCount

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

WorkloadType

Type of workload for the backup management.

(Inherited from WorkloadProtectableItem)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VmWorkloadProtectableItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Converts the provided BinaryData into a model.

IPersistableModel<VmWorkloadProtectableItem>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VmWorkloadProtectableItem>.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