CmdID / az / az dataprotection / az dataprotection backup-policy / az dataprotection backup-policy retention-rule
az dataprotection backup-policy retention-rule remove
Remove existing retention rule in a backup policy. Azure CLI extensions reference
2 options Its page in the Azure CLI extensions reference
Options
--nameSpecify the retention rule name to be removed in policy.--policyExisting policy Json string or file.