0

I want to configure an azure lifecycle policy to containers such that the blobs are moved to cool tier after some specific time, but the blobs are inside dynamically created directory inside container, e.g

mycontainer/test-123/blob1.pdf; mycontainer/test-98765/blob2.pdf; mycontainer/test-qw9876/blob3.pdf

where "mycontainer/test-" remains same for all the blobs, but file names are dynamic, we need to apply the policy for the all blobs under the container "mycontainer/test-*".

Note: * values will be dynamically generated.

  • Welcome! Please edit your question to provide details - you haven't shown any code or other details describing the issue you're having. – David Makogon Jul 27 '22 at 13:08

1 Answers1

0

I tried to add the blobs in the container and move to cool tiers I'm getting result successfully without any dynamical creation

In your storage account -> use storage browser -> under blob container -> create container -> upload files directly in the container

enter image description here

After configuring an azure lifecycle policy to containers moving blobs to cool tier try to remove the character and update the rule

enter image description here

enter image description here

Here, blobs are moved to cool tier without any changes even after specific time

enter image description here

For reference:

https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-policy-configure?tabs=azure-portal

Unexpected links generated when creating a folder hierarchy in blob storage - Stack Overflow

Imran
  • 3,875
  • 2
  • 3
  • 12