当我尝试使用 arm 模板创建自定义图像 https://github.com/Microsoft/azure-docs/blob/master/articles/devtest-lab/devtest-lab-create-custom-image-from-vhd-using-powershell .md
我正进入(状态
{
"error": {
"code": "InvalidStorageAccountForLab",
"message": "Invalid storage account for lab"
}
}
我已将实验室存储类型添加为高级,但在部署时仅创建标准存储。
"apiVersion": "2016-05-15",
"type": "Microsoft.DevTestLab/labs",
"name": "[parameters('newLabName')]",
"location": "[resourceGroup().location]",
"tags": {
"ResourceType": "Rig",
"RigTemplate": "[parameters('customTag')]"
},
"properties": {
"labStorageType": "Premium"
},