CmdID

CmdID / az / az sql / az sql midb / az sql midb short-term-retention-policy

az sql midb short-term-retention-policy set

Update short term retention for automated backups on a single database. Azure CLI reference

4 options Its page in the Azure CLI reference

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

Options

4 in the Azure CLI reference
--deleted-timeIf specified, updates retention days for a deleted database, instead of an existing database.
--lock-immutabilityWhether to lock backup immutability for a live managed database.
--retention-daysNew backup short term retention policy in days.
--yes, -yDo not prompt for confirmation when locking backup immutability.