【发布时间】:2019-10-19 09:42:00
【问题描述】:
我正在将Custom Image 从norteurope 区域复制到Azure 中的eastus,因此我可以根据复制的Custom Image 在eastus 区域中创建Virtual Machines。我正在使用以下Azure CLI 命令:
az image copy `
--source-object-name "playground-windows-vm-image-1" `
--source-resource-group 'playground-demo-rg' `
--target-location 'eastus' `
--target-resource-group 'layground-demo-rg2' `
--cleanup
Azure CLI 复制命令引发错误并给我以下错误消息:
我正在使用Azure CLI,主要做了以下步骤:
- 我在
eastus中创建了一个名为playground-demo-rg2的新Resource Group - 安装
Image Copy Extension以便从northeurope复制到eastus - 将现有的
Custom Image(playground-windows-vm-image-1)从Source Resource Group(playground-demo-rg)复制到Target Resource Group(playground-demo-rg2)
我已经上传了完整的PS 脚本,它在执行时抛出了上述错误:
https://github.com/jagjitsingh700/AzureVirtualMachines/blob/master/CopyingCustomImageToRegion.ps1
【问题讨论】:
-
能否提供详细的错误信息?
标签: azure virtual-machine azure-cli