通过ARM创建存储帐户,但收到错误消息 [英] Creating a storage account through ARM,but getting error message

查看:65
本文介绍了通过ARM创建存储帐户,但收到错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在代码下运行以创建存储帐户时会收到错误

When i am running below code to create storage account getting the error

代码

错误

{
  "error": {
    "code": "AccountTypeMissing",
    "message": "The accountType field is missing from the request."
  }
}

推荐答案

其中您在模板中引用API版本?你可以分享整个模板吗?

Which API version are you referring to in your template? Could you share the whole template?

如果它仅用于单个存储,则使用Powershell

Or use Powershell if it's only for a single storage

New-AzStorageAccount -ResourceGroupName YourResourceGroupName -AccountName devstorage -Location southeastasia -SkuName Standard_LRS


这篇关于通过ARM创建存储帐户,但收到错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆