【发布时间】:2017-02-07 10:47:24
【问题描述】:
我正在尝试使用 powershell 命令将服务总线命名空间移动到不同的资源组。下面的代码有时有效,有时失败。
$Resource = Find-AzureRmResource -ResourceType "Microsoft.ServiceBus/Namespaces" -ResourceNameContains $ServiceBusNamespace
Move-AzureRmResource -DestinationResourceGroupName $ResourceGroupName -ResourceId $Resource.ResourceId -Force
这里是随机错误信息:
Move-AzureRmResource : ResourceMoveFailed : 资源 '/subscriptions/f24b849a-ba33-4bd9-a87e-eca0df1cbcd2/resourceGroups/Default-ServiceBus-WestEurope/providers/Microsoft.ServiceBus/namespaces/cokolwiekNamespace' 无法移动。跟踪 ID 为 '64c 52d24-a471-490d-b18a-b7838966a8e0'
跟踪 ID 是什么意思?我可以在一些日志中找到它并获得更多有意义的信息吗?
【问题讨论】:
标签: powershell azureservicebus azure-powershell