Udostępnij za pośrednictwem


DatabaseRestoreResourceInfo Class

Definition

Specific Databases to restore.

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

Constructors

DatabaseRestoreResourceInfo()

Initializes a new instance of DatabaseRestoreResourceInfo.

Properties

CollectionNames

The names of the collections available for restore.

DatabaseName

The name of the database available for restore.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DatabaseRestoreResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DatabaseRestoreResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DatabaseRestoreResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DatabaseRestoreResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DatabaseRestoreResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to