CmdID / az / az dataprotection / az dataprotection backup-policy
az dataprotection backup-policy retention-rule
Create lifecycles and add or remove retention rules in a backup policy. Azure CLI extensions reference
3 commands Its page in the Azure CLI extensions reference