MongoDbCollectionSettings interface
描述如何迁移单个 MongoDB 集合
属性
| can |
是否允许迁移程序在执行迁移过程中删除目标集合。 默认值为 true。 |
| shard |
描述 MongoDB 分片密钥 |
| target |
应在 CosmosDB 目标上配置的 RU,或为 null 来使用默认值。 这不会影响非 CosmosDB 目标。 |
属性详细信息
canDelete
是否允许迁移程序在执行迁移过程中删除目标集合。 默认值为 true。
canDelete?: boolean
属性值
boolean
shardKey
targetRUs
应在 CosmosDB 目标上配置的 RU,或为 null 来使用默认值。 这不会影响非 CosmosDB 目标。
targetRUs?: number
属性值
number