def stop(name, call=None, session=None):
    '''
    Stop a vm

    .. code-block:: bash

        salt-cloud -a stop xenvm01


    '''
    if call == 'function':
        raise SaltCloudException(
            'The show_instnce function must be called with -a or --action.'
        )
    return shutdown(name, call, session)
def stop ( name , call = None , session = None ) : if call == 'function' : raise SaltCloudException ( 'The show_instnce function must be called with -a or --action.' ) return shutdown ( name , call , session )
Stop a vm

    .. code-block:: bash

        salt-cloud -a stop xenvm01