【发布时间】:2014-08-20 13:53:29
【问题描述】:
使用 Azure Powershell 度过了愉快的一天。
经过努力,我已经让一些命令行开关正常工作了,例如Get-AzureSubscription -Current 返回我的订阅的详细信息。
不确定这是否相关,但它返回的详细信息之一是 CurrentStorageAccountName,它是空的。不确定这是否与 Get-AzureStorageAccount commandlet 的目标相同。
Get-AzureStorageAccount 逐字返回以下内容:
Get-AzureStorageAccount :发送请求时出错。 在行:1 字符:1 + 获取 AzureStorageAccount -StorageAccountName "mensch" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ + CategoryInfo : NotSpecified: (:) [Get-AzureStorageAccount], HttpRequestException + FullyQualifiedErrorId:System.Net.Http.HttpRequestException,Microsoft.WindowsAzure.Commands.ServiceManagement.S torageServices.GetAzureStorageAccountCommand
我假设当我之前运行 Set-AzureSubscription commandlet 时它成功了,但它没有给出任何消息。但是我上传了一个证书并使用相关的指纹运行了该命令,并认为我正在路上。
任何想法为什么 Get-AzureStorageAccount 不适合我?
【问题讨论】:
标签: azure azure-storage azure-powershell