MongoDBMigrationSettings Constructor
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.
Initializes a new instance of MongoDBMigrationSettings.
public MongoDBMigrationSettings (System.Collections.Generic.IDictionary<string,Azure.ResourceManager.DataMigration.Models.MongoDBDatabaseSettings> databases, Azure.ResourceManager.DataMigration.Models.MongoDBConnectionInfo source, Azure.ResourceManager.DataMigration.Models.MongoDBConnectionInfo target);
new Azure.ResourceManager.DataMigration.Models.MongoDBMigrationSettings : System.Collections.Generic.IDictionary<string, Azure.ResourceManager.DataMigration.Models.MongoDBDatabaseSettings> * Azure.ResourceManager.DataMigration.Models.MongoDBConnectionInfo * Azure.ResourceManager.DataMigration.Models.MongoDBConnectionInfo -> Azure.ResourceManager.DataMigration.Models.MongoDBMigrationSettings
Public Sub New (databases As IDictionary(Of String, MongoDBDatabaseSettings), source As MongoDBConnectionInfo, target As MongoDBConnectionInfo)
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.
Exceptions
databases
, source
or target
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET