How to create vm using custom image from different storage account, on Azure

前端 未结 5 1674
没有蜡笔的小新
没有蜡笔的小新 2021-01-14 11:39

I\'m currently using this template to create a vm by custom image. For the OS Disk part:

\"storageProfile\": {
  \"osDisk\": {
    \"name\": \"[concat(variab         


        
5条回答
  •  长情又很酷
    2021-01-14 11:59

    I don't know how other answers are upvoted. OP post is correct - custom image and VM os disk needs to be in the same storage account which is a great limitation. Just tried that using the API and I'm getting:

    "MsRestAzure::AzureOperationError: ConflictingUserInput: Source and destination storage accounts for disk test-terminate are different."
    

提交回复
热议问题