MongoDbCollectionSettings interface

Describes how an individual MongoDB collection should be migrated

Properties

canDelete

Whether the migrator is allowed to drop the target collection in the course of performing a migration. The default is true.

shardKey

Describes a MongoDB shard key

targetRUs

The RUs that should be configured on a CosmosDB target, or null to use the default. This has no effect on non-CosmosDB targets.

Property Details

canDelete

Whether the migrator is allowed to drop the target collection in the course of performing a migration. The default is true.

canDelete?: boolean

Property Value

boolean

shardKey

Describes a MongoDB shard key

shardKey?: MongoDbShardKeySetting

Property Value

targetRUs

The RUs that should be configured on a CosmosDB target, or null to use the default. This has no effect on non-CosmosDB targets.

targetRUs?: number

Property Value

number