Skip to content

Commit c9b422e

Browse files
berndverstCopilot
andauthored
Update src/durabletask/azext_durabletask/_params.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 83f9963 commit c9b422e

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

src/durabletask/azext_durabletask/_params.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,17 @@
1212
def load_arguments(self, _): # pylint: disable=unused-argument
1313
with self.argument_context('durabletask scheduler attach') as c:
1414
c.argument('resource_group_name', options_list=['--resource-group', '-g'],
15-
help='Name of the resource group containing the scheduler.')
15+
help='Name of the resource group containing the scheduler.',
16+
required=True)
1617
c.argument('scheduler_name', options_list=['--name', '-n'],
17-
help='Name of the Durable Task scheduler.')
18+
help='Name of the Durable Task scheduler.',
19+
required=True)
1820
c.argument('task_hub_name', options_list=['--task-hub-name'],
19-
help='Name of the Durable Task task hub.')
20-
c.argument('target', options_list=['--target'],
21-
help='Resource ID of the target Function App or Container App.')
21+
help='Name of the Durable Task task hub.',
22+
required=True)
23+
c.argument('target', options_list=['--target', '-t'],
24+
help='Resource ID of the target Function App or Container App.',
25+
required=True)
2226
c.argument('role_type', options_list=['--role-type'],
2327
help='The type of role to assign to the target managed identity.',
2428
choices=['worker', 'contributor', 'reader'], required=True)

0 commit comments

Comments
 (0)