@@ -3053,7 +3053,7 @@ def _update_vm_nics(cmd, vm, nics, primary_nic):
30533053
30543054
30553055# region VirtualMachines RunCommand
3056- def run_command_invoke (cmd , resource_group_name , vm_vmss_name , command_id , scripts = None , parameters = None , instance_id = None ): # pylint: disable=line-too-long
3056+ def run_command_invoke (cmd , resource_group_name , vm_vmss_name , command_id , scripts = None , parameters = None , instance_id = None , no_wait = False ): # pylint: disable=line-too-long
30573057 parameters = parameters or [] # CLI user input arg "parameters"
30583058 params = [] # AAZCommand arg for "parameters"
30593059 auto_arg_name_num = 0
@@ -3078,7 +3078,8 @@ def run_command_invoke(cmd, resource_group_name, vm_vmss_name, command_id, scrip
30783078 'instance_id' : instance_id ,
30793079 'command_id' : command_id ,
30803080 'script' : scripts ,
3081- 'parameters' : params
3081+ 'parameters' : params ,
3082+ 'no_wait' : no_wait ,
30823083 })
30833084
30843085 # otherwise this is a regular vm instance
@@ -3088,12 +3089,13 @@ def run_command_invoke(cmd, resource_group_name, vm_vmss_name, command_id, scrip
30883089 'vm_name' : vm_vmss_name ,
30893090 'command_id' : command_id ,
30903091 'script' : scripts ,
3091- 'parameters' : params
3092+ 'parameters' : params ,
3093+ 'no_wait' : no_wait
30923094 })
30933095
30943096
3095- def vm_run_command_invoke (cmd , resource_group_name , vm_name , command_id , scripts = None , parameters = None ):
3096- return run_command_invoke (cmd , resource_group_name , vm_name , command_id , scripts , parameters )
3097+ def vm_run_command_invoke (cmd , resource_group_name , vm_name , command_id , scripts = None , parameters = None , no_wait = False ):
3098+ return run_command_invoke (cmd , resource_group_name , vm_name , command_id , scripts , parameters , no_wait = no_wait )
30973099
30983100
30993101def vm_run_command_create (cmd ,
0 commit comments