CmdID

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

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

Options

3 in the Azure CLI extensions reference
--lifecycleslifecycles to be associated with the retention rule.
--nameSpecify the retention rule name to be edited in policy.
--policyPolicy Json string or file.