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


VmWorkloadProtectionPolicy Class

Definition

Azure VM (Mercury) workload-specific backup policy.

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

Constructors

VmWorkloadProtectionPolicy()

Initializes a new instance of VmWorkloadProtectionPolicy.

Properties

DoesMakePolicyConsistent

Fix the policy inconsistency.

ProtectedItemsCount

Number of items associated with this policy.

(Inherited from BackupGenericProtectionPolicy)
ResourceGuardOperationRequests

ResourceGuard Operation Requests.

(Inherited from BackupGenericProtectionPolicy)
Settings

Common settings for the backup management.

SubProtectionPolicy

List of sub-protection policies which includes schedule and retention.

WorkLoadType

Type of workload for the backup management.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BackupGenericProtectionPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from BackupGenericProtectionPolicy)
IJsonModel<VmWorkloadProtectionPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VmWorkloadProtectionPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BackupGenericProtectionPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from BackupGenericProtectionPolicy)
IPersistableModel<VmWorkloadProtectionPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VmWorkloadProtectionPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VmWorkloadProtectionPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to