2016-11-27 3 views
0

지정된 (기존) 리소스 그룹에 새 Azure 자동화 계정을 만드는 방법이 있습니까? - 3.0.0 다음과 같은 기능을 제공 1.6.1이 푸른 PowerShell 용지정된 리소스 그룹에 프로그래밍 방식으로 Azure 자동화 계정을 만드는 방법은 무엇입니까?

OaasCSb2f5e86d-f2a9-43cd-872a-22c9b428c2a5-South-Central-US 

문서 :

New-AzureAutomationAccount cmdlet은 그러나 그것은 다음과 같은 방법으로라는 새 자원 그룹의 생성 (OaasCS<subscription>-<location>)을 강제로 새 계정을 만들 수 있습니다 New-AzureAutomationAccount cmdlet의 구문 (가능한 것은 아닙니다.) :

New-AzureAutomationAccount [-Name] <String> [-Location] <String> 
[-Profile <AzureSMProfile>] [<CommonParameters>] 
한편

this documentation page* (목록 ResourceGroupName 매개 변수) :

New-AzureAutomationAccount [-ResourceGroupName] <String> [-Name] <String> 
[-Location] <String> [-Plan <String> {Free | Basic} ] [-Profile <AzureProfile> ] 
[-Tags <IDictionary> ] [ <CommonParameters>] 

현실은 -ResourceGroupName 매개 변수 (3.0.0)을 수용되지 않는 것입니다 :

New-AzureAutomationAccount -Name "ExampleAutomationAccount" -ResourceGroupName "ExampleResourceGroup" -Location $location 

신규 -AzureAutomationAccount : 'ResourceGroupName'매개 변수 이름과 일치하는 매개 변수를 찾을 수 없습니다. 내가 어떤 자동화 된 솔루션을 찾고 있어요


뿐만 아니라, PowerShell을, 그러나 자동화는 푸른 포털 및 Windows PowerShell을 지원하는 것 같습니다.

* 부탁드립니다.이 후자의 설명서 페이지는 무엇입니까?

답변

1
New-AzureRmAutomationAccount -ResourceGroupName 'resourcegroupname' -Location westeurope -Name 'somename' 

그래서 무슨 일이 일어나고 있는지 - 당신이 오래된 커맨드 (광산에서 RM 통지)과 자동화 계정을 만들려고하고 있습니다. Azure Automation은 3 월 현재 ASM을 지원하지 않습니다 (이에 대해서는 확실하지 않습니다).