使用Powershell或ARM创建CosmosDB [英] Create CosmosDB using powershell or ARM

查看:93
本文介绍了使用Powershell或ARM创建CosmosDB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于合规性原因,我们正在使我们的部署自动化.我找不到使用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆