Created
October 21, 2021 19:28
-
-
Save DaveRuijter/4b443128e3683e9a3cea37ceeea034d5 to your computer and use it in GitHub Desktop.
This policy is used on the storage account of the Data Lake. This will ensure new data in the dls/05_store/_archive folder of the lake is automatically assigned to the cool access tier.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rules": [ | |
{ | |
"enabled": true, | |
"name": "daily-moving-data-lake-store-archive-to-cool", | |
"type": "Lifecycle", | |
"definition": { | |
"actions": { | |
"baseBlob": { | |
"tierToCool": { | |
"daysAfterModificationGreaterThan": 0 | |
} | |
} | |
}, | |
"filters": { | |
"blobTypes": [ | |
"blockBlob" | |
], | |
"prefixMatch": [ | |
"dls/05_store/_archive" | |
] | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment