Reputation: 153
I have some json files which i want to upload on Azure DocumentDB. How can do this using ARM powershell.
Even i would like to write DocumentDB queries using ARM Powershell.
Upvotes: 1
Views: 929
Reputation: 2043
I've written a blog post which answers this question, Managing DocumentDB with Powershell and includes a script and a walkthrough of what the script does and how it works. I wrote this to be consumed by a VSTS Build/Release task, which I'm just writing up and should be publishing in the next few days. (This lets you choose "Publish document to DocumentDB" in your release management process.)
Upvotes: 1
Reputation: 71120
There are no built-in Azure PowerShell cmdlets for CRUD operations with DocumentDB. You'd need to write your own. Alternatively, you can use the REST API directly, or work with one of the language SDK's.
Upvotes: 0