MongoDBMigrationSettings Class

Definition

Describes how a MongoDB data migration should be performed.

public class MongoDBMigrationSettings
type MongoDBMigrationSettings = class
Public Class MongoDBMigrationSettings
Inheritance
MongoDBMigrationSettings

Constructors

MongoDBMigrationSettings(IDictionary<String,MongoDBDatabaseSettings>, MongoDBConnectionInfo, MongoDBConnectionInfo)

Initializes a new instance of MongoDBMigrationSettings.

Properties

BoostRUs

The RU limit on a CosmosDB target that collections will be temporarily increased to (if lower) during the initial copy of a migration, from 10,000 to 1,000,000, or 0 to use the default boost (which is generally the maximum), or null to not boost the RUs. This setting has no effect on non-CosmosDB targets.

Databases

The databases on the source cluster to migrate to the target. The keys are the names of the databases.

Replication

Describes how changes will be replicated from the source to the target. The default is OneTime.

Source

Settings used to connect to the source cluster.

Target

Settings used to connect to the target cluster.

Throttling

Settings used to limit the resource usage of the migration.

Applies to