使用Powershell或ARM创建CosmosDB [英] Create CosmosDB using powershell or ARM
问题描述
由于合规性原因,我们正在使我们的部署自动化.我找不到使用Powershell或Arm模板在CosmosDB中创建CosmosDB和集合的方法.
有没有办法做到这一点?
如果没有,解决方法是什么?
谢谢
Hi,
We are automating our deployments because of compliance reasons. I did not find a way to create CosmosDB and collections inside CosmosDB using powershell or arm templates.
Is there a way to do that?
If not, What is the work around?
thanks
You may refer the following articles to create Azure Cosmos DB using PowerShell or ARM:
PowerShell Module for working with Azure Cosmos DB databases, collections, documents, attachments, offers, users, permissions, triggers, stored procedures and user defined functions.
Azure Cosmos DB: PowerShell Scripts
Azure ARM Template: Create an Azure Cosmos DB account for any API type
Hope this helps.
这篇关于使用Powershell或ARM创建CosmosDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!