Afflatus
Afflatus

Reputation: 943

Azure table storage Retention Policy

Working with Azure storage, I can of course set the retention policy for blobs. But I would like to learn if there's possibility to set retention policy over Azure table storage. and the only article I found on Microsoft documentation was this one. : 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. But why I can't find any means to set this property on Azure portal?

Upvotes: 2

Views: 3639

Answers (1)

Gaurav Mantri
Gaurav Mantri

Reputation: 136196

But I would like to learn if there's possibility to set retention policy over Azure table storage.

It is not possible to set the retention policy for entities in Azure Table Storage. Retention policy is only available for Blobs in blob storage.

Set table service properties operation sets the storage analytics settings for table service (along with CORS settings). The retention policy you see there is for the retention of storage analytics logs and metrics data collected by storage analytics for table service.

Upvotes: 2

Related Questions