MongoDbCollectionSettingsResponse

data class MongoDbCollectionSettingsResponse(val canDelete: Boolean? = null, val shardKey: MongoDbShardKeySettingResponse? = null, val targetRUs: Int? = null)

Describes how an individual MongoDB collection should be migrated

Constructors

Link copied to clipboard
constructor(canDelete: Boolean? = null, shardKey: MongoDbShardKeySettingResponse? = null, targetRUs: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val canDelete: Boolean? = null

Whether the migrator is allowed to drop the target collection in the course of performing a migration. The default is true.

Link copied to clipboard

Describes a MongoDB shard key

Link copied to clipboard
val targetRUs: Int? = null

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