Delen via


ResourceRestoreParameters Class

Definition

Parameters to indicate the information about the restore.

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

Constructors

ResourceRestoreParameters()

Initializes a new instance of ResourceRestoreParameters.

Properties

IsRestoreWithTtlDisabled

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

(Inherited from RestoreParametersBase)
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}.

(Inherited from RestoreParametersBase)
RestoreTimestampInUtc

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

(Inherited from RestoreParametersBase)

Explicit Interface Implementations

IJsonModel<ResourceRestoreParameters>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ResourceRestoreParameters>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<RestoreParametersBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from RestoreParametersBase)
IJsonModel<RestoreParametersBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from RestoreParametersBase)
IPersistableModel<ResourceRestoreParameters>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceRestoreParameters>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ResourceRestoreParameters>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<RestoreParametersBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from RestoreParametersBase)
IPersistableModel<RestoreParametersBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from RestoreParametersBase)
IPersistableModel<RestoreParametersBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from RestoreParametersBase)

Applies to