Azure blob storage life cycle management - set filter at container level

Viewed 537

I have azure storage account on which I'm enabling life cycle management. Is it possible to set filter at container level?

eg Container/folder1/x.txt Container/folder2/y.txt

I want the life management filter set to be applied at container level instead of filtering by blob name prefix.

2 Answers

The only filter on container level is like below:

Suppose you have 3 containers, like container-1, container-2, container3, then you can set the filter as container-, then the policy is only applied to container-1, container-2.

So in your case, you can directly set the filter as the container name, like Container.

To apply filtering at the container level, simply specify the container name as blob prefix.

enter image description here

Related