CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

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).