Compartilhar via


MongoDbCollectionSettings Constructors

Definition

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

canDelete
Nullable<Boolean>

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

targetRUs
Nullable<Int32>

The RUs that should be configured on a CosmosDB target, or null to use the default. This has no effect on non-CosmosDB targets.

Applies to