存储帐户 - blob上的资源锁定 [英] Storage Account - Resource Lock on blob

查看:84
本文介绍了存储帐户 - blob上的资源锁定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Team,



我有一个特定的要求,如果我在存储上应用资源锁定账号它不应该允许我删除一个blob,但它应该允许我修改它。

Hello Team,

I have a specific requirement where if I apply resource lock on a Storage Account it should Not allow me to delete a blob, However it should allow me to modify it.

如果有可能或者有任何其他方法可以实现这一点,有人可以告诉我吗?

Could someone let me know if this is possible or if there is any other way to achieve this ?

谢谢,

Prashant




推荐答案

我不认为支持这种粒度级别(资源锁适用于存储帐户)。您可能需要考虑启用软删除。

I don't believe there is support for such level of granularity (resource locks apply to the storage account). You might want to consider enabling soft delete instead.

https://azure.microsoft.com/en-us/blog/soft-delete-for-azure-storage-blobs-ga/

hth

Marcin

hth
Marcin


这篇关于存储帐户 - blob上的资源锁定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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