0

当 Azure 资源管理器 (ARM) 在 Azure 上部署我的模板时出现错误。在“资源组事件”窗格中,我收到以下存储帐户创建错误:

statusMessage:{"error":{"code":"NoRegisteredProviderFound","message":"找不到位置'澳大利亚东南部'和API版本'2014-11-01'的注册资源提供程序。"}}

我正在使用 Azure xPlat CLI,并且可以使用命令确认azure location liststorageAccounts 资源在澳大利亚东南部可用。模板中的资源是:

{
        "apiVersion": "2014-11-01",
        "name": "[variables('storageName')]",
        "type": "microsoft.classicstorage/storageAccounts",
        "location": "[variables('location')]"
}

我已经尝试使用Service Management Versioning列表中的 apiVersion 的不同值

有谁知道是不是api版本?还是问题所在的位置?如果有的话,除了门户网站上的错误消息之外,还有什么方法可以进一步调试它?

4

3 回答 3

2

此问题将在 xplat cli 0.8.14 的新版本中修复,该版本应在 2015 年 1 月 26 日星期一发布。

于 2015-01-20T22:28:09.520 回答
2

通过 Azure 资源管理器创建存储帐户尚不可用。一个经验法则是检查输出Get-AzureResourceGroupGalleryTemplate- 如果没有服务模板,那么它对 ARM 不可用。

MSDN 论坛中有关此主题的更多讨论。

编辑 此功能刚刚宣布:http ://azure.microsoft.com/blog/2015/04/29/build-2015-azure-storage-announcements/

于 2015-01-06T15:21:26.067 回答
0

I think the issue is with the location i.e. 'Australia Southeast'.

For now, The provided location 'Australia Southeast' is not permitted for this resource provider 'Microsoft.ClassicStorage/storageAccounts'.

you can fetch the supported location by using the following cmdlets:

PS C:> Get-AzureLocation | Where-Object Name -EQ 'Microsoft.ClassicStorage/storageAccounts'

The supported locations for the storage accounts are as follows:

East Asia, Southeast Asia, East US, East US 2, West US, North Central US, South Central US, Central US, North Europe, West Europe, Japan East, Japan West, Brazil South

for more information, Please refer this http://msdn.microsoft.com/en-us/library/dn654582.aspx.

Hope this helps.

Thanks.

于 2015-01-06T15:42:28.520 回答