简体   繁体   English

Azure 表存储保留策略

[英]Azure table storage Retention Policy

Working with Azure storage, I can of course set the retention policy for blobs.使用 Azure 存储,我当然可以为 blob 设置保留策略。 But I would like to learn if there's possibility to set retention policy over Azure table storage.但我想了解是否有可能在 Azure 表存储上设置保留策略。 and the only article I found on Microsoft documentation was this one.我在 Microsoft 文档中找到的唯一一篇文章就是这篇文章。 : Set Table Service Properties : 设置表服务属性

According to this article by calling the PUT API for setting table service, we can enable or disable the retention policies for storage table service.根据这篇文章,通过调用PUT API 设置表服务,我们可以启用或禁用存储表服务的保留策略。 But why I can't find any means to set this property on Azure portal?但是为什么我找不到任何方法在 Azure 门户上设置此属性?

But I would like to learn if there's possibility to set retention policy over Azure table storage.但我想了解是否有可能在 Azure 表存储上设置保留策略。

It is not possible to set the retention policy for entities in Azure Table Storage.无法为 Azure 表存储中的实体设置保留策略。 Retention policy is only available for Blobs in blob storage.保留策略仅适用于 Blob 存储中的 Blob。

Set table service properties operation sets the storage analytics settings for table service (along with CORS settings).设置表服务属性操作设置表服务的storage analytics设置(以及 CORS 设置)。 The retention policy you see there is for the retention of storage analytics logs and metrics data collected by storage analytics for table service.您看到的保留策略用于保留存储分析日志和存储分析为表服务收集的指标数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM