CmdID / az / az durabletask / az durabletask retention-policy
az durabletask retention-policy create
Create a Retention Policy Azure CLI extensions reference
1 example 2 options Its page in the Azure CLI extensions reference
Examples
Create a new retention policy for a scheduler with a default retention period of 30 days
az durabletask retention-policy create -g "example-rg" --scheduler-name "example-scheduler" --default-days 30Identify-gName of resource group.--scheduler-nameThe name of the SchedulerOptions
--retention-policiesThe orchestration retention policies--scheduler-name, -sThe name of the Scheduler