Azure磁盘删除问题 [英] Azure disk removal issue

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

问题描述

我已经测试了从一个地区到另一个地区的Azure Site DR测试。测试后我试图删除资源组,它不允许我删除它。错误消息显示:磁盘有一个活动的共享访问签名。在附加或删除磁盘之前调用EndGetAccess
。 (代码:不允许操作)

i have tested Azure Site DR test from one region to another. After testing i am trying to remove the Resource group it is not allowing me to delete it. The error message shows: There is an active shared access signature outstanding for disk. Call EndGetAccess before attaching or deleting the disk. (Code: Operation not allowed)

推荐答案

资源组可能包含其他资源组中的资源或任何依赖的资源。您可以在  审核
logs

您可以尝试删除  < span style ="font-weight:inherit; font-style:inherit; outline:0px"> 资源
组通过PowerShell-请检查以下链接中列出的cmdlet:

You may try to delete the resource group via PowerShell- Please check the cmdlets outlined in the link below:

https://docs.microsoft.com/en-in/azure/azure-resource-manager/powershell-azure-resource-manager#delete-resources- or-resource-group  

https://docs.microsoft.com/en-in/azure/azure-resource-manager/powershell-azure-resource-manager#delete-resources-or-resource-group 

或者,您可以尝试从  Azure
资源浏览器
, 
并查看是否有帮助。参考  Azure
资源浏览器
 了解更多详情。



Alternatively, you may try deleting the Resource Group from the Azure Resource Explorerand see if helps. Refer Azure Resource Explorer for more details.

注意:  删除
资源组将删除该资源组中的所有资源,请小心谨慎。因此,如果您只想删除特定资源,则必须单独删除资源。

Note: Deleting the resource group will delete all the resources in that resource group kindly exercise caution. So, if you want to only delete specific resources, you will have to delete the resources individually.


Find-AzureRmResource
- ResourceGroupNameContains
'RGName'
|
Remove-AzureRmResource
- 力量


Find-AzureRmResource -ResourceGroupNameContains 'RGName' | Remove-AzureRmResource -Force

其他信息:根据错误消息,您可以参考此
GitHub
链接

Additional information: Based on the error message you may refer to  suggestions mentioned in this GitHub link

如果上述情况有所帮助,或者您需要在此问题上需要进一步的帮助,请告诉我们。

Kindly let us know if the above helps or you need further assistance on this issue.

------------------------------------- -------------------------------------------------- ---

点击帮助您的帖子上的"标记为答案",这对其他社区成员有益。


这篇关于Azure磁盘删除问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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