0

I am trying to create Azure Document Database Account using Powershell.

found a way to create it using ARM Template.

   ex: New-AzureResourceGroup -Name $resourceGroupName -Location     
   $location -DeploymentName "Microsoft.DocumentDBWebSite" -Force -
   Verbose -TemplateFile .\DocumentDBJson\DocDBWebSite.json  -
   databaseAccountName $docDBAccountName -locationFromTemplate $location 
   -TemplateParameterFile .\DocumentDBJson\DocDBWebSite.param.dev.json

Is there any other way to create it using Powershell?

Anil Patel
  • 71
  • 1
  • 10

1 Answers1

1

Unfortunately no. DocumentDb can only be created using preview portal or ARM.

Here's the full list of Azure Powershell Cmdlets:

https://msdn.microsoft.com/library/azure/jj554330.aspx

Bruno Faria
  • 5,219
  • 3
  • 24
  • 27