MongoDbMigrationSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes how a MongoDB data migration should be performed
public class MongoDbMigrationSettings
type MongoDbMigrationSettings = class
Public Class MongoDbMigrationSettings
- Inheritance
-
MongoDbMigrationSettings
Constructors
MongoDbMigrationSettings() |
Initializes a new instance of the MongoDbMigrationSettings class. |
MongoDbMigrationSettings(IDictionary<String,MongoDbDatabaseSettings>, MongoDbConnectionInfo, MongoDbConnectionInfo, Nullable<Int32>, String, MongoDbThrottlingSettings) |
Initializes a new instance of the MongoDbMigrationSettings class. |
Properties
BoostRUs |
Gets or sets 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 |
Gets or sets the databases on the source cluster to migrate to the target. The keys are the names of the databases. |
Replication |
Gets or sets describes how changes will be replicated from the source to the target. The default is OneTime. Possible values include: 'Disabled', 'OneTime', 'Continuous' |
Source |
Gets or sets settings used to connect to the source cluster |
Target |
Gets or sets settings used to connect to the target cluster |
Throttling |
Gets or sets settings used to limit the resource usage of the migration |
Methods
Validate() |
Validate the object. |