首页 > 解决方案 > 启动 Cosmosdb Emulator 时如何传递 2 个参数?

问题描述

我想测试 Patch API,我按照github上的文档用 Emulator 测试 Patch API,

C:\Program Files\Azure Cosmos DB Emulator> .\CosmosDB.Emulator.exe /EnablePreview

效果很好,但是当我开始插入项目时,它会引发错误,

抱歉,我们目前在该地区的需求量很大,目前无法满足您的要求。

我遇到了这篇文章,我如何在启动模拟器时同时运行这个命令和上面的命令?

标签: azureazure-cosmosdbazure-cosmosdb-sqlapiazure-cosmosdb-emulator

解决方案


我想你只需要运行,

.\CosmosDB.Emulator.exe /EnablePreview /PartitionCount=100

在 Cosmos 模拟器文件夹中


推荐阅读