Partager via


MongoDbDatabaseSettings Class

Definition

Describes how an individual MongoDB database should be migrated

public class MongoDbDatabaseSettings
type MongoDbDatabaseSettings = class
Public Class MongoDbDatabaseSettings
Inheritance
MongoDbDatabaseSettings

Constructors

MongoDbDatabaseSettings()

Initializes a new instance of the MongoDbDatabaseSettings class.

MongoDbDatabaseSettings(IDictionary<String,MongoDbCollectionSettings>, Nullable<Int32>)

Initializes a new instance of the MongoDbDatabaseSettings class.

Properties

Collections

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

TargetRUs

Gets or sets 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

Validate()

Validate the object.

Applies to