MongoDbCollectionSettings Constructors
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.
Overloads
MongoDbCollectionSettings() |
Initializes a new instance of the MongoDbCollectionSettings class. |
MongoDbCollectionSettings(Nullable<Boolean>, MongoDbShardKeySetting, Nullable<Int32>) |
Initializes a new instance of the MongoDbCollectionSettings class. |
MongoDbCollectionSettings()
Initializes a new instance of the MongoDbCollectionSettings class.
public MongoDbCollectionSettings ();
Public Sub New ()
Applies to
MongoDbCollectionSettings(Nullable<Boolean>, MongoDbShardKeySetting, Nullable<Int32>)
Initializes a new instance of the MongoDbCollectionSettings class.
public MongoDbCollectionSettings (bool? canDelete = default, Microsoft.Azure.Management.DataMigration.Models.MongoDbShardKeySetting shardKey = default, int? targetRUs = default);
new Microsoft.Azure.Management.DataMigration.Models.MongoDbCollectionSettings : Nullable<bool> * Microsoft.Azure.Management.DataMigration.Models.MongoDbShardKeySetting * Nullable<int> -> Microsoft.Azure.Management.DataMigration.Models.MongoDbCollectionSettings
Public Sub New (Optional canDelete As Nullable(Of Boolean) = Nothing, Optional shardKey As MongoDbShardKeySetting = Nothing, Optional targetRUs As Nullable(Of Integer) = Nothing)
Parameters
Whether the migrator is allowed to drop the target collection in the course of performing a migration. The default is true.
- shardKey
- MongoDbShardKeySetting
Describes a MongoDB shard key
The RUs that should be configured on a CosmosDB target, or null to use the default. This has no effect on non-CosmosDB targets.