Configuring Blob Container Lifecycle Policy
- Navigate to your storage account in the Azure portal.
- In the Data management section, select Lifecycle management.
- Select Add a rule and name your rule on the Details form. You can also set the Rule scope, Blob type, and Blob subtype values. The following example sets the scope to filter blobs. This causes the Filter set tab to be added.
- Select Base blobs to set the conditions for your rule. In the following example, blobs are moved to cool storage if they haven’t been modified for 30 days.
The Last accessed option is available only if you have enabled access time tracking. - If you selected Limit blobs with filters on the Details page, select Filter set to add an optional filter. The following example filters on blobs whose name begins with log in a container called sample-container.
- Select Add to add the new policy.
Tag:Azure