当 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版本?还是问题所在的位置?如果有的话,除了门户网站上的错误消息之外,还有什么方法可以进一步调试它?