Udostępnij za pośrednictwem


CosmosDBAccountRestoreParameters Class

Definition

Parameters to indicate the information about the restore.

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

Constructors

CosmosDBAccountRestoreParameters()

Initializes a new instance of CosmosDBAccountRestoreParameters.

Properties

DatabasesToRestore

List of specific databases available for restore.

GremlinDatabasesToRestore

List of specific gremlin databases available for restore.

IsRestoreWithTtlDisabled

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

(Inherited from RestoreParametersBase)
RestoreMode

Describes the mode of the 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}.

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).

RestoreTimestampInUtc

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

(Inherited from RestoreParametersBase)
SourceBackupLocation

The source backup location for restore.

TablesToRestore

List of specific tables available for restore.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBAccountRestoreParameters>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBAccountRestoreParameters>.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<CosmosDBAccountRestoreParameters>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBAccountRestoreParameters>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBAccountRestoreParameters>.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