Reputation: 303
Is there a resource I can use in order to enable Azure's blob data protection objects: soft delete && versioning?
Upvotes: 1
Views: 3965
Reputation: 31454
You just need to set the property delete_retention_policy
of the Azure Storage account in blob_properties
like this example:
blob_properties {
delete_retention_policy {
days = 7
}
}
Then it works for the Blob like this:
Upvotes: 2