Azure的"list_resources"方法列出已删除的托管磁盘 [英] Azure 'list_resources' Method Lists Deleted Managed Disk

查看:115
本文介绍了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 in Azure, 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 the Activity 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.

推荐答案

@Maham,由于门户网站和其他工具的某些依赖性,删除资源时会出现延迟.一旦资源已被标记为删除",则该资源将不再可用,并且可能需要花费几分钟的时间, 它已从所有请求(Rest API,Portal,PS等)中删除,保留为删除后,您无需支付任何费用.让我知道是否有帮助.
@Maham, there are delays that are expected when deleting a resource, due to several dependencies, from Portal, and other tools. Once a resource has been "Marked for deletion", it should no longer be usable, and might take a few minutes before it's deleted from all requests(Rest APIs, Portal, PS etc..), you won't be charged for anything after it being reserved for deletion. let me know if this helps.


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

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