pyaz/vm/__init__.py
def restart(name, resource_group, force=None, no_wait=None):
    '''
    Restart VMs.

    Required Parameters:
    - name -- The name of the Virtual Machine. You can configure the default using `az configure --defaults vm=<name>`
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`

    Optional Parameters:
    - force -- Force the VM to restart by redeploying it. Use if the VM is unresponsive.
    - no_wait -- Do not wait for the long-running operation to finish.
    '''
    return _call_az("az vm restart", locals())

    Restart VMs.

    Required Parameters:
    - name -- The name of the Virtual Machine. You can configure the default using `az configure --defaults vm=<name>`
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`

    Optional Parameters:
    - force -- Force the VM to restart by redeploying it. Use if the VM is unresponsive.
    - no_wait -- Do not wait for the long-running operation to finish.
    


Optional Parameters:
force -- Force the VM to restart by redeploying it. Use if the VM is unresponsive.
no_wait -- Do not wait for the long-running operation to finish.
Optional Parameters : force -- Force the VM to restart by redeploying it . Use if the VM is unresponsive . no_wait -- Do not wait for the long - running operation to finish .
def restart(name, resource_group, force=None, no_wait=None):
    return _call_az("az vm restart", locals())
def restart ( name , resource_group , force = None , no_wait = None ) : return _call_az ( "az vm restart" , locals ( ) )
Restart VMs.
Restart VMs .
'''
    Restart VMs.

    Required Parameters:
    - name -- The name of the Virtual Machine. You can configure the default using `az configure --defaults vm=<name>`
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`

    Optional Parameters:
    - force -- Force the VM to restart by redeploying it. Use if the VM is unresponsive.
    - no_wait -- Do not wait for the long-running operation to finish.
    '''
name
resource_group
force
no_wait