CmdID / az / az storage / az storage blob / az storage blob service-properties / az storage blob service-properties delete-policy
az storage blob service-properties delete-policy update
Update the storage blob delete-policy. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--days-retainedNumber of days that soft-deleted blob will be retained.--enableEnables/disables soft-delete.