Skip to content

Commit eac2fa1

Browse files
authored
[Resource] az resource invoke-action: Add new parameter --no-wait to support not waiting the long-running operation to finish (#26877)
1 parent 6ed0695 commit eac2fa1

File tree

3 files changed

+1406
-1240
lines changed

3 files changed

+1406
-1240
lines changed

src/azure-cli/azure/cli/command_modules/resource/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def load_command_table(self, _):
284284
g.custom_command('list', 'list_resources', table_transformer=transform_resource_list)
285285
g.custom_command('tag', 'tag_resource')
286286
g.custom_command('move', 'move_resource')
287-
g.custom_command('invoke-action', 'invoke_resource_action', transform=DeploymentOutputLongRunningOperation(self.cli_ctx))
287+
g.custom_command('invoke-action', 'invoke_resource_action', transform=DeploymentOutputLongRunningOperation(self.cli_ctx), supports_no_wait=True)
288288
g.generic_update_command('update', getter_name='show_resource', setter_name='update_resource',
289289
client_factory=None)
290290
g.custom_command('patch', 'patch_resource')

0 commit comments

Comments
 (0)