你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MongoDbDatabaseSettings interface

描述如何迁移单个 MongoDB 数据库

属性

collections

要迁移到目标的源数据库上的集合。 这些键是集合的不限定名称。

targetRUs

应在 CosmosDB 目标上配置的 RU;如果不应为数据库预配吞吐量,则为 null 以使用默认值;如果不应为数据库预配吞吐量,则为 0。 这不会影响非 CosmosDB 目标。

属性详细信息

collections

要迁移到目标的源数据库上的集合。 这些键是集合的不限定名称。

collections: {[propertyName: string]: MongoDbCollectionSettings}

属性值

{[propertyName: string]: MongoDbCollectionSettings}

targetRUs

应在 CosmosDB 目标上配置的 RU;如果不应为数据库预配吞吐量,则为 null 以使用默认值;如果不应为数据库预配吞吐量,则为 0。 这不会影响非 CosmosDB 目标。

targetRUs?: number

属性值

number