Reputation: 81
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?
Upvotes: 0
Views: 366
Reputation: 5272
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
Upvotes: 1