将 Azure 虚拟网络移动到另一个资源组
Move Azure Virtual network to another resource group
您好,我正在尝试将虚拟网络从一个资源组移动到另一个资源组,但我收到以下错误:
{"code":"ResourceMoveProviderValidationFailed","message":"Resource
move validation failed. Please see details. Diagnostic information:
,"details":[{"target":"Microsoft.Network/virtualNetworks","message":"{\"error\":{\"code\":\"CannotMoveResource\",\"message\":\"Cannot
move one or more resources in the request. Please check details for
information about each
resource.\",\"details\":[{\"code\":\"CannotMoveVnetDueToPeering\",\"message\":\"Cannot
move virtual network
/subscriptions/XXX/resourceGroups/RG_Networking/providers/Microsoft.Network/virtualNetworks/XXX
because it's peered with other virtual networks:
/subscriptions/XXX/resourceGroups/RG_Networking/providers/Microsoft.Network/virtualNetworks/XXX.\"}]}}"}]}
此错误意味着您需要在移动 vnet 之前删除对等互连,您不能移动启用了对等互连的 vnet。这是平台限制
您好,我正在尝试将虚拟网络从一个资源组移动到另一个资源组,但我收到以下错误:
{"code":"ResourceMoveProviderValidationFailed","message":"Resource move validation failed. Please see details. Diagnostic information: ,"details":[{"target":"Microsoft.Network/virtualNetworks","message":"{\"error\":{\"code\":\"CannotMoveResource\",\"message\":\"Cannot move one or more resources in the request. Please check details for information about each resource.\",\"details\":[{\"code\":\"CannotMoveVnetDueToPeering\",\"message\":\"Cannot move virtual network /subscriptions/XXX/resourceGroups/RG_Networking/providers/Microsoft.Network/virtualNetworks/XXX because it's peered with other virtual networks: /subscriptions/XXX/resourceGroups/RG_Networking/providers/Microsoft.Network/virtualNetworks/XXX.\"}]}}"}]}
此错误意味着您需要在移动 vnet 之前删除对等互连,您不能移动启用了对等互连的 vnet。这是平台限制