[英]Is Powershell available for creating Azure Document Database account without using ARM Template?
I am trying to create Azure Document Database Account using Powershell. 我正在尝试使用Powershell创建Azure文档数据库帐户。
found a way to create it using ARM Template. 找到了一种使用ARM模板创建它的方法。
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? 还有其他使用Powershell创建它的方法吗?
Unfortunately no. 抱歉不行。 DocumentDb can only be created using preview portal or ARM. 只能使用预览门户或ARM创建DocumentDb。
Here's the full list of Azure Powershell Cmdlets: 这是Azure Powershell Cmdlet的完整列表:
https://msdn.microsoft.com/library/azure/jj554330.aspx https://msdn.microsoft.com/library/azure/jj554330.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.