728x90

// 해당 이름으로 스토리지 생성이 가능한지 알아보는 명령
Get-AzureRmStorageAccountNameAvailability -Name '스토리지명'

// 스토리지 생성
New-AzureRmStorageAccount -ResourceGroupName 리소스명 -AccountName 스토리지명 -Location eastus2 -SkuName Standard_GRS

// 생성되었는지 확인
Get-AzureRmStorageAccount -ResourceGroupName "리소스명" -AccountName "스토리지명"

// Type 지정
Set-AzureRmStorageAccount -ResourceGroupName "리소스명" -AccountName "스토리지명" -Type "Standard_RAGRS" 

* Type 종류
https://docs.microsoft.com/ko-kr/dotnet/api/microsoft.azure.management.storage.fluent.storageaccountskutype?view=azure-dotnet

728x90
Posted by kjun.kr
,