Azure Powershellをインストールして設定しようとしていて、驚いたことにStorageAccountNameパラメータの設定に問題があります。Powershellを使用してAzureマシンを起動するときにStorageAccountnameを設定する際の問題
エンタープライズアカウントでリソースグループ名が"RG-1"
、ストレージアカウント名がrg13675 and rg16461
の私のVMセットアップがあります。自分のリソースグループにドリルダウンした後、これらのストレージアカウント名が見つかりました。コマンドを実行するには
、
Set-AzureRmCurrentStorageAccount –ResourceGroupName “RG-1” –StorageAccountName “rg16461"
マイPowerShellはエラーをスローします。
Set-AzureRmCurrentStorageAccount : The Resource 'Microsoft.Storage/storageAccounts/rg16461' under resource group 'RG-1' was not found.
At line:1 char:1
+ Set-AzureRmCurrentStorageAccount –ResourceGroupName “RG-1” –StorageAc ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Set-AzureRmCurrentStorageAccount], CloudException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Management.Storage.SetAzureRmCurrentStorageAccount
それは意味があるので、https://azure.microsoft.com/en-us/documentation/articles/powershell-install-configure/はそれに続く正しいリンクではないようですか?私はAzureクラシック用のモジュールをインストールする必要がありますか? – Himan
古典的なストレージアカウントの設定方法については何も見つかりません。 – Himan