简体   繁体   English

Powershell是否可用于在不使用ARM模板的情况下创建Azure文档数据库帐户?

[英]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.

相关问题 Powershell命令是否可用于检索Azure文档数据库帐户密钥? - Is Powershell command available for retrieving Azure Document Database account key? Azure ARM 模板和 PowerShell 模块 - Azure ARM Template and PowerShell Module 使用powershell登录azure帐户而不弹出 - login to azure account without popup using powershell 使用 ARM 模板和 JSON 在 Azure 中创建 VM 时出现“DiskImageNotReady”错误 - "DiskImageNotReady" error when creating VM in Azure using ARM template and JSON Powershell 格式问题 -WhatIf azure arm 模板 - Powershell formatting issue for -WhatIf azure arm template PowerShell Question using Azure ARM 模板参数数组(我使用数组的 ConvertFrom-Json 实现失败) - PowerShell Question using Azure ARM Template Parameter array (my implementation of ConvertFrom-Json using an array fails) 使用powershell将值传递到ARM模板参数中 - pass values into ARM template parameters using powershell 用于在每个Azure Cosmos数据库帐户中创建集合以及数据库的PowerShell脚本 - PowerShell script for creating collection along with database in each Azure Cosmos DB Account 如何在使用 ARM 模板创建时将 VM 操作系统设置为自动更新 - Azure - How to set VM operating system to update automatically when creating using an ARM template - Azure 如何在使用ARM模板的Azure VM部署期间运行PowerShell脚本? - How to run a PowerShell script during Azure VM deployment with ARM template?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM