Different data retention times in Azure Blob storage

MyAzQuery 166 Reputation points
2022-11-04T11:02:42.903+00:00

We are having 4 containers in Azure Storage blob

1st container that holds data that expires after 7 days
2nd container that has data expired after 15 days
3rd containers that has data that expires after 1 month
4th container that has data that expires after 6months

So we want to have Different retention period for different containers , in same storage account. Is it possible ?

So should we go for different azure storage blobs or different containers in same storage blob can have different retention period times ?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,454 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Haris Rashid 1 Reputation point
    2022-11-04T23:28:29.727+00:00

    You can configure a container-level retention policy for between 1 and 146000 days.

    Here is link to Micrsooft site to configure retention for containers.

    https://learn.microsoft.com/en-us/azure/storage/blobs/immutable-policy-configure-container-scope?tabs=azure-portal#configure-a-retention-policy-on-a-container

    0 comments No comments