Share via


RestoreParametersBase Class

Definition

Parameters to indicate the information about the restore.

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

Constructors

RestoreParametersBase()

Initializes a new instance of RestoreParametersBase.

Properties

IsRestoreWithTtlDisabled

Specifies whether the restored account will have Time-To-Live disabled upon the successful restore.

RestoreSource

The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}.

RestoreTimestampInUtc

Time to which the account has to be restored (ISO-8601 format).

Methods

Explicit Interface Implementations

IJsonModel<RestoreParametersBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RestoreParametersBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RestoreParametersBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RestoreParametersBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RestoreParametersBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to