Azure Blob storage lifecycle management now supports blob versions management

Data de publicação: 21 outubro, 2020

Azure Blob storage lifecycle managment now supports blob versions. Microsoft recommends using blob versioning to maintain previous versions of a blob for data protection. When blob versioning is enabled for a storage account, Azure Storage automatically creates a new version of a blob each time that blob is modified or deleted. You can use lifecycle management to automatically transition old blob versions to a cooler storage tier (hot to cool, hot to archive, or cool to archive) or delete old blob versions to optimize for cost.

This sample policy rule below tiers previous versions within container activedata that are 90 days or older to cool tier, and deletes previous versions that are 365 days or older.

{ "rules": [ { "enabled": true, "name": "versionrule", "type": "Lifecycle", "definition": { "actions": { "version": { "tierToCool": { "daysAfterCreationGreaterThan": 90 }, "delete": { "daysAfterCreationGreaterThan": 365 } } }, "filters": { "blobTypes": [ "blockBlob" ], "prefixMatch": [ "activedata" ] } } } ]}

Learn more about lifecycle management.

The lifecycle management feature is free of charge. Customers are charged the regular operation cost for the Set Blob Tier API calls. Delete operation is free. For more information about pricing, see Block Blob pricing.


  • Escalões de Armazenamento de Blobs de Acesso Frequente/Esporádico
  • Armazenamento de Blobs do Azure
  • Armazenamento de Arquivo
  • Contas de Armazenamento
  • Features