Skip to content

Commit 1999e1b

Browse files
committed
Add back deleted examples
1 parent 0430ce9 commit 1999e1b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/durabletask/azext_durabletask/aaz/latest/durabletask/retention_policy/_create.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
)
1717
class Create(AAZCommand):
1818
"""Create a Retention Policy
19+
20+
:example: Create a new retention policy for a scheduler with a default retention period of 30 days
21+
az durabletask retention-policy create -g "example-rg" --scheduler-name "example-scheduler" --default-days 30
1922
"""
2023

2124
_aaz_info = {

src/durabletask/azext_durabletask/aaz/latest/durabletask/retention_policy/_delete.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
)
1818
class Delete(AAZCommand):
1919
"""Delete a Retention Policy
20+
21+
:example: Delete a Retention Policy on a Scheduler
22+
az durabletask retention-policy delete -g "example-rg" --scheduler-name "example-scheduler"
2023
"""
2124

2225
_aaz_info = {

0 commit comments

Comments
 (0)