MongoDbMigrationSettings interface

Describes how a MongoDB data migration should be performed

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

Property Details

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.

boostRUs?: number

Property Value

number

databases

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

databases: {[propertyName: string]: MongoDbDatabaseSettings}

Property Value

{[propertyName: string]: MongoDbDatabaseSettings}

replication

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

replication?: string

Property Value

string

source

Settings used to connect to the source cluster

source: MongoDbConnectionInfo

Property Value

target

Settings used to connect to the target cluster

target: MongoDbConnectionInfo

Property Value

throttling

Settings used to limit the resource usage of the migration

throttling?: MongoDbThrottlingSettings

Property Value