Partager via


MongoDbDatabaseSettings Constructors

Definition

Overloads

MongoDbDatabaseSettings()

Initializes a new instance of the MongoDbDatabaseSettings class.

MongoDbDatabaseSettings(IDictionary<String,MongoDbCollectionSettings>, Nullable<Int32>)

Initializes a new instance of the MongoDbDatabaseSettings class.

MongoDbDatabaseSettings()

Initializes a new instance of the MongoDbDatabaseSettings class.

public MongoDbDatabaseSettings ();
Public Sub New ()

Applies to

MongoDbDatabaseSettings(IDictionary<String,MongoDbCollectionSettings>, Nullable<Int32>)

Initializes a new instance of the MongoDbDatabaseSettings class.

public MongoDbDatabaseSettings (System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.DataMigration.Models.MongoDbCollectionSettings> collections, int? targetRUs = default);
new Microsoft.Azure.Management.DataMigration.Models.MongoDbDatabaseSettings : System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.DataMigration.Models.MongoDbCollectionSettings> * Nullable<int> -> Microsoft.Azure.Management.DataMigration.Models.MongoDbDatabaseSettings
Public Sub New (collections As IDictionary(Of String, MongoDbCollectionSettings), Optional targetRUs As Nullable(Of Integer) = Nothing)

Parameters

collections
IDictionary<String,MongoDbCollectionSettings>

The collections on the source database to migrate to the target. The keys are the unqualified names of the collections.

targetRUs
Nullable<Int32>

The RUs that should be configured on a CosmosDB target, or null to use the default, or 0 if throughput should not be provisioned for the database. This has no effect on non-CosmosDB targets.

Applies to