部署失败后无法删除Azure资源组 [英] Unable to delete Azure Resource Group after deployment failure in it

查看:57
本文介绍了部署失败后无法删除Azure资源组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当时在服务目录托管应用程序上使用Azure托管应用程序在资源组中部署了一组资源,该资源确实由于某些语法错误而失败了(即使语法正确且符合Azure准则).现在,当我打开失败的资源时,它没有显示任何内容,似乎资源中没有任何内容,而只是对其的引用.后来,当我删除资源时,它通知无法删除"或成功删除",但是门户网站一直将其列在资源组中.

I was deploying a set of resources in a resource group using Azure Managed Application on Service Catalog Managed Application which failed indeed due to some syntax errors (even though the syntax was correct and according to Azure Guidelines). Now when I open the failed resource, it displays nothing in it, which seems that there is nothing in the resource but just a reference to it. Later when I deleted the resource, it notified "cannot be deleted" or "successful deletion" however portal kept listing it in the resource group.

其次,当我尝试删除资源组时,它在很长的间隔后通知删除失败,并指出这是由于超时造成的.

Secondly, when I tried to delete the resource group, it notified a deletion failure after a long interval, telling it was because of timeout.

我已经尝试过:

  1. 使用天蓝色门户网站删除它

  1. removing it using azure portal

使用powershell删除它

removing it using powershell

azure cli

azure cli

安全资源

问题#1:是否可以删除此类资源或资源组?

Question # 1: Is there any way to delete such resources or resource groups?

问题2:是否有任何方法可以详细了解失败原因,如日志形式?

Question # 2: Is there any way to find out the failure reasons in details like in form of logs?

推荐答案

某些区域需要更多时间才能删除资源.

Some Regions take more time to delete the resources.

对于问题1 =>如果问题仍然存在,您可以尝试此解决方案.删除其中没有资源的Azure资源组

For question 1 => You can try this solution if problem persists. Delete Azure Resource Groups with no resources in it

对于问题2 =>您可以尝试以下

For question 2 => You can try this Azure Logs

这篇关于部署失败后无法删除Azure资源组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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