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

问题描述

即使从资源组中删除了托管磁盘, Azure ,如果您调用 list_resources 列出该资源组中的剩余资源,即使在磁盘中看到删除确认通知,托管磁盘仍会显示.活动日志在Azure门户上.

调用删除操作后最多2分钟即可看到它.

有谁知道为什么 list_resources 方法仍然最终将其列出?
因为如果您尝试在托管磁盘上调用 get ,它将返回一个异常,提示您找不到该磁盘,但该磁盘仍显示在列表中.
 
注意
我正在使用适用于Ruby Gem v0.9.0的Azure SDK.

Even after a managed disk is deleted from the resource group inAzure, if you call the list_resources to list the remaining resources in that resource group, the managed disk still shows up even if you have deletion confirmation notification visible in theActivity Logs on Azure Portal.

It is visible for up to 2 minutes after delete has been called on it.

Does anyone know why the list_resources method still ends up listing it?
Because if you try calling get on the managed disk, it will return you an exception saying that the disk was not found, yet it still shows up in the list.
 
Note
I am using Azure SDK for Ruby Gem v0.9.0.

推荐答案


这篇关于Azure的"list_resources"方法列出已删除的托管磁盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-23 17:30