Share via


CrossRegionRestoreRequestObject Class

Definition

Cross Region Restore Request Object.

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

Constructors

CrossRegionRestoreRequestObject(BackupRestoreContent, CrossRegionRestoreDetails)

Initializes a new instance of CrossRegionRestoreRequestObject.

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

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

IJsonModel<CrossRegionRestoreRequestObject>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CrossRegionRestoreRequestObject>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CrossRegionRestoreRequestObject>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CrossRegionRestoreRequestObject>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to