code: 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, sessionf 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)
docs: Stop a vm
  
      .. code-block:: bash
  
          salt-cloud -a stop xenvm01