Delen via


BackupValidateRestoreContent Class

Definition

Validate restore request object.

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

Constructors

BackupValidateRestoreContent(BackupRestoreContent)

Initializes a new instance of BackupValidateRestoreContent.

Properties

RestoreRequestObject

Gets or sets the restore request object. Please note BackupRestoreContent 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 BackupRecoveryPointBasedRestoreContent, BackupRecoveryTimeBasedRestoreContent and BackupRestoreWithRehydrationContent.

Explicit Interface Implementations

IJsonModel<BackupValidateRestoreContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BackupValidateRestoreContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BackupValidateRestoreContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BackupValidateRestoreContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BackupValidateRestoreContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to