本文介绍了无法删除VNet,因为已被删除的应用服务计划使用了它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们进行了Som试用,以在虚拟机和App Service之间建立VNET.一切正常后,我们希望删除所有资源,并创建一个脚本来再次设置所有内容.我们通过简单地删除所有相关资源来做到这一点 组.

We made som trials setting up a VNET between a virtual machine and a App Service. Once everything was working, we wanted to delete all the resources and make a script for setting up everything again. We did this by simly deleting all the relevant resource groups.

但是没有删除包含VNet的资源组,因为无法删除VNet本身,它声称它仍在使用中,因此出现类似下面的错误.

However the resource group containing the VNet was not deleted, beacuse the VNet itself cannot be deleted, it claims that it is still being used, and we get an error like the one below.

无法删除虚拟网络"xxx- dev-westeu-app-xxx-vnet".错误:/subscriptions/zzzzz/resourceGroups/xxx-dev-westeu-appserviceplan/providers/Microsoft.Web/serverfarms/xxx-dev-westeu-appserviceplan正在使用子网应用程序 并且无法删除.

Failed to delete virtual network 'xxx-dev-westeu-app-xxx-vnet'. Error: Subnet Apps is in use by /subscriptions/zzzzz/resourceGroups/xxx-dev-westeu-appserviceplan/providers/Microsoft.Web/serverfarms/xxx-dev-westeu-appserviceplan and cannot be deleted.

但是实际上删除了资源(应用服务计划)!我们无法摆脱这种状态,并且在不破坏公司范围内的命名约定的情况下,我们无法测试部署脚本.

However the resource (app service plan) is in fact deleted! We have no way of getting out of this state, and we cannot test our deployment script without breaking our company wide naming conventions.

预先感谢.

推荐答案


这篇关于无法删除VNet,因为已被删除的应用服务计划使用了它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 23:46