다음을 통해 공유


MongoDBDatabaseSettings Class

Definition

Describes how an individual MongoDB database should be migrated.

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

Constructors

MongoDBDatabaseSettings(IDictionary<String,MongoDBCollectionSettings>)

Initializes a new instance of MongoDBDatabaseSettings.

Properties

Collections

The collections on the source database to migrate to the target. The keys are the unqualified names of the collections.

TargetRUs

The RUs that should be configured on a CosmosDB target, or null to use the default, or 0 if throughput should not be provisioned for the database. This has no effect on non-CosmosDB targets.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MongoDBDatabaseSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MongoDBDatabaseSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MongoDBDatabaseSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MongoDBDatabaseSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MongoDBDatabaseSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to