Share via


ValidateCrossRegionRestoreRequestObject Class

Definition

Cross Region Restore Request Object.

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

Constructors

ValidateCrossRegionRestoreRequestObject(BackupRestoreContent, CrossRegionRestoreDetails)

Initializes a new instance of ValidateCrossRegionRestoreRequestObject.

Properties

CrossRegionRestoreDetails

Cross region restore details.

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<ValidateCrossRegionRestoreRequestObject>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ValidateCrossRegionRestoreRequestObject>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ValidateCrossRegionRestoreRequestObject>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ValidateCrossRegionRestoreRequestObject>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ValidateCrossRegionRestoreRequestObject>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to