Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mehmetcakmaz/42152e9182083f897027b1cefb5472fd to your computer and use it in GitHub Desktop.
Save mehmetcakmaz/42152e9182083f897027b1cefb5472fd to your computer and use it in GitHub Desktop.
{
"rules": [
{
"name": "DenemeKural",
"enabled": true,
"type": "Lifecycle",
"definition": {
"filters": {
"blobTypes": [ "blockBlob" ],
"prefixMatch": [ "resimler" ]
},
"actions": {
"baseBlob": {
"tierToCool": { "daysAfterModificationGreaterThan": 30 },
"tierToArchive": { "daysAfterModificationGreaterThan": 90 },
"delete": { "daysAfterModificationGreaterThan": 3650 }
},
"snapshot": {
"delete": { "daysAfterCreationGreaterThan": 90 }
}
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment