Amit
Amit

Reputation: 153

How to upload JSON file in Azure DocumentDB using ARM Powershell

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

Answers (2)

Russell Young
Russell Young

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

David Makogon
David Makogon

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

Related Questions