CmdID / az / az acr / az acr config
az acr config soft-delete
Manage soft-delete policy for Azure Container Registries. Azure CLI reference
2 commands 3 options Its page in the Azure CLI reference
Commands
Options
--daysThe number of days to retain a soft-deleted manifest or tag after which it gets purged (Range: 1 to 90).--registry, -r--statusIndicates whether soft-delete policy is enabled.