Add allow_permanent_delete property to delete_retention_policy (azurerm_storage_account.blob_properties) #21830
Closed
1 task done
Labels
Milestone
Is there an existing issue for this?
Community Note
Description
This feature is required for being able to permanently delete blobs when soft delete and versioning are enabled. It can be found in the Azure Portal under the Data Protection section of a Storage Account.
az cli 2.48.1 shows this property via the command:
az storage account blob-service-properties show -n [storageaccount] -r [resourcegroup]
With this section in the output:
It can be set with:
az storage account blob-service-properties update --set deleteRetentionPolicy.allowPermanentDelete=true ...
New or Affected Resource(s)/Data Source(s)
azurerm_storage_account
Potential Terraform Configuration
References
https://learn.microsoft.com/en-us/cli/azure/storage/account/blob-service-properties?view=azure-cli-latest
The text was updated successfully, but these errors were encountered: