CmdID / az / az dataprotection / az dataprotection backup-policy / az dataprotection backup-policy retention-rule
az dataprotection backup-policy retention-rule set
Add new retention rule or update existing retention rule. Azure CLI extensions reference
3 options Its page in the Azure CLI extensions reference
Options
--lifecycleslifecycles to be associated with the retention rule.--nameSpecify the retention rule name to be edited in policy.--policyPolicy Json string or file.