无法在Azure中删除虚拟网络网关 [英] Cannot Delete Virtual Network Gateway in Azure

查看:63
本文介绍了无法在Azure中删除虚拟网络网关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试删除Azure中的虚拟网络.当我使用网络界面删除它时,它说

I am attempting to delete a virtual network in Azure. When I use the web interface to delete it, it says

Virtual network 'MyVirtualNetwork' is in use and cannot be deleted. If you recently deleted resources, it might take some time to update the virtual network.

当然,我最近没有删除资源,也没有使用网络的VM.我在此处上关注了这篇StackOverflow帖子,内容是为了删除虚拟网络,您必须首先删除虚拟网络网关.

Of course, I didn't recently delete resources and there are no VMs using the network. I followed this StackOverflow post here which says that in order to delete a Virtual Network, you must first delete the Virtual Network Gateway.

因此,按照MSDN上删除虚拟网络网关"的说明,在此处,我这样单击Azure Web界面:

So, as per the instructions "To delete a virtual network gateway" on MSDN here, I click through the Azure web interface like this:

Virtual Network > *MyVirtualNetwork* > Dashboard > Delete Gateway

我明白了:

Failed to delete the gateway for virtual network 'OneCoreWikiVnet'.

Azure没有提供进一步的解释或其他细节.

Azure offers no further explanation or other details.

如何删除此虚拟网络网关?

How do I delete this virtual network gateway?

推荐答案

是.如您所知,必须先删除设置"部分下显示的所有子网,然后才能删除虚拟网络本身,如下面的快照所示.如您所见,我有两个子网,分别是GatewaySubnetSubnet 1.

Yes. As you know it correctly that you have to delete all the subnets shown under settings section before you are able to delete the virtual network itself as shown in the snapshot below. As you can see that I've got two subnets namely GatewaySubnet and Subnet 1.

您可以使用每行末尾...菜单下显示的删除选项删除除GatewaySubnet以外的所有子网.

You can delete all the subnets except GatewaySubnet using delete option shown under ... menu at the end of every row.

如果您尝试从同一...选项中删除GatewaySubnet,则会显示一条错误消息:

If you try deleting the GatewaySubnet from the same ... option it gives you an error saying:

不能删除网关子网.

The gateway subnet cannot be deleted.

现在,有关如何删除GatewaySubnet的问题仍然存在.这是完成此操作的分步过程:

Now the question remains as to how to delete the GatewaySubnet. Here is the step by step process to accomplish the same:

  1. 转到Overview选项卡,然后单击右窗格中显示的带有绿色复选标记的网关图标.
  1. Go to Overview tab and click on the gateway icon shown with a green check mark in the right pane.

  1. 在网关详细信息屏幕上,单击左窗格中的删除按钮:

  1. 在显示Are you sure you want to delete this gateway?

这将导致删除GatewaySubnet.现在,您可以在概述"选项卡上观察到Gateway的图标变为灰色,并且其简短描述为Click here to create a gateway.

This will result in deletion of the GatewaySubnet. You can observe now on the overview tab that icon of Gateway has turned grey and its brief description reads Click here to create a gateway.

  1. 现在只需单击删除按钮即可完全删除虚拟网络.

这篇关于无法在Azure中删除虚拟网络网关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆