【发布时间】:2018-06-08 11:11:38
【问题描述】:
我正在尝试按照here 概述的步骤从 Azure 快照创建 VM。
我已经到了这一步:
$disk = New-AzureRmDisk -Disk $diskConfig -ResourceGroupName $resourceGroupName -DiskName $osDiskName
但是,当运行此行时,会得到以下错误:
New-AzureRmDisk : Changing property 'creationData' is not allowed.
ErrorCode: PropertyChangeNotAllowed
ErrorMessage: Changing property 'creationData' is not allowed.
StatusCode: 409
ReasonPhrase: Conflict
OperationID : 85382399-64e8-4547-804d-ef0796301b63
At line:1 char:9
+ $disk = New-AzureRmDisk -Disk $diskConfig -ResourceGroupName $resourc ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [New-AzureRmDisk],
ComputeCloudException
+ FullyQualifiedErrorId :
Microsoft.Azure.Commands.Compute.Automation.NewAzureRmDisk
错误似乎类似于this one posed here,但提供的解决方案并未从快照配置磁盘。关于什么可能导致问题的任何想法?
【问题讨论】:
标签: powershell azure azure-powershell