Udostępnij za pośrednictwem


PreBackupValidation Class

Definition

Pre-backup validation for Azure VM Workload provider.

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

Constructors

PreBackupValidation()

Initializes a new instance of PreBackupValidation.

Properties

Code

Error code of protectable item.

Message

Message corresponding to the error code for the protectable item.

Status

Status of protectable item, i.e. InProgress,Succeeded,Failed.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PreBackupValidation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PreBackupValidation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PreBackupValidation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PreBackupValidation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PreBackupValidation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to