|
12 | 12 | def load_arguments(self, _): # pylint: disable=unused-argument |
13 | 13 | with self.argument_context('durabletask scheduler attach') as c: |
14 | 14 | 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) |
16 | 17 | 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) |
18 | 20 | 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) |
22 | 26 | c.argument('role_type', options_list=['--role-type'], |
23 | 27 | help='The type of role to assign to the target managed identity.', |
24 | 28 | choices=['worker', 'contributor', 'reader'], required=True) |
|
0 commit comments