다음을 통해 공유


MongoDbMigrationSettings Constructors

Definition

Overloads

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.

MongoDbMigrationSettings()

Initializes a new instance of the MongoDbMigrationSettings class.

public MongoDbMigrationSettings ();
Public Sub New ()

Applies to

MongoDbMigrationSettings(IDictionary<String,MongoDbDatabaseSettings>, MongoDbConnectionInfo, MongoDbConnectionInfo, Nullable<Int32>, String, MongoDbThrottlingSettings)

Initializes a new instance of the MongoDbMigrationSettings class.

public MongoDbMigrationSettings (System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.DataMigration.Models.MongoDbDatabaseSettings> databases, Microsoft.Azure.Management.DataMigration.Models.MongoDbConnectionInfo source, Microsoft.Azure.Management.DataMigration.Models.MongoDbConnectionInfo target, int? boostRUs = default, string replication = default, Microsoft.Azure.Management.DataMigration.Models.MongoDbThrottlingSettings throttling = default);
new Microsoft.Azure.Management.DataMigration.Models.MongoDbMigrationSettings : System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.DataMigration.Models.MongoDbDatabaseSettings> * Microsoft.Azure.Management.DataMigration.Models.MongoDbConnectionInfo * Microsoft.Azure.Management.DataMigration.Models.MongoDbConnectionInfo * Nullable<int> * string * Microsoft.Azure.Management.DataMigration.Models.MongoDbThrottlingSettings -> Microsoft.Azure.Management.DataMigration.Models.MongoDbMigrationSettings
Public Sub New (databases As IDictionary(Of String, MongoDbDatabaseSettings), source As MongoDbConnectionInfo, target As MongoDbConnectionInfo, Optional boostRUs As Nullable(Of Integer) = Nothing, Optional replication As String = Nothing, Optional throttling As MongoDbThrottlingSettings = Nothing)

Parameters

databases
IDictionary<String,MongoDbDatabaseSettings>

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

source
MongoDbConnectionInfo

Settings used to connect to the source cluster

target
MongoDbConnectionInfo

Settings used to connect to the target cluster

boostRUs
Nullable<Int32>

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.

replication
String

Describes how changes will be replicated from the source to the target. The default is OneTime. Possible values include: 'Disabled', 'OneTime', 'Continuous'

throttling
MongoDbThrottlingSettings

Settings used to limit the resource usage of the migration

Applies to