Sergey Anisimov
Sergey Anisimov

Reputation: 895

Azure Storage Lifecycle management filter containers

I have the following container's structure in my storage:

    container-1
     + folder 1
     + folder 2
   
    container-2
      + folder 3
      + folder 4

   public-container
     + f5
     + 6

   another-container
     + f7

And I want to define a rule which will move blobs to cool storage only in containers that start with "container-"
Can I define the following filter set and will it affect only blobs in containers starting with container-?enter image description here

Upvotes: 0

Views: 636

Answers (1)

Ivan Glasenberg
Ivan Glasenberg

Reputation: 30025

Update:

Recently, there is an update for life cycle management, we can now use container- as prefix to filter containers(like container-1, container-sss etc.).


No, the prefix match must start with a full container name.

So in your case, you must define 2 prefix match, like container-1 and container-2.

Upvotes: 2

Related Questions