Power-Shell脚本使用rest API创建文档 [英] Power-Shell script to create document using rest API
问题描述
调用此休息Api的power-shell脚本是什么?
https:// docs。 microsoft.com/en-us/rest/api/cosmos-db/create-a-document
谢谢
从
此官方文档
目前,您只能通过PowerShell管理Azure Cosmos数据库帐户;其他资源(如数据库和容器
)无法通过PowerShell进行管理。
因此,截至目前,无法管理Cosmos DB通过PowerShell有
现有 反馈已经打开并由Microsoft开始计划。
您可以使用Cosmos DB PowerShell模块可在
PowerShell Gallery 上找到。
Hi,
What will be the power-shell script to call this rest Api?
https://docs.microsoft.com/en-us/rest/api/cosmos-db/create-a-document
Thanks
Hi,
As you can see from this official doc
At this time, you can only manage the Azure Cosmos DB account via PowerShell; other resources such as databases and containers cannot be managed via PowerShell.
So, as of now, there is no way to manage Cosmos DB through PowerShell there is existing feedback which is already opened and start planned by Microsoft.
You can use the Cosmos DB PowerShell module available on the PowerShell Gallery.
这篇关于Power-Shell脚本使用rest API创建文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!