CmdID / az / az acr / az acr config / az acr config soft-delete
az acr config soft-delete update
Update soft-delete policy for an Azure Container Registry. Azure CLI reference
1 example Its page in the Azure CLI reference
Examples
Enable soft-delete policy for an Azure Container Registry to purge a soft-deleted manifest after 30 days.
az acr config soft-delete update -r myregistry --status Enabled --days 30Identify-rName of registry.--statusIndicates whether soft-delete policy is enabled.--daysThe number of days to retain a soft-deleted manifest or tag after which it gets purged (Range: 1 to 90).