code: def stop(name, **kwargs):
      '''
      Hard power down the virtual machine, this is equivalent to pulling the power.
  
      :param vm_: domain name
      :param connection: libvirt connection URI, overriding defaults
  
          .. versionadded:: 2019.2.0
      :param username: username to connect with, overriding defaults
  
          .. versionadded:: 2019.2.0
      :param password: password to connect with, overriding defaults
  
          .. versionadded:: 2019.2.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' virt.stop <domain>
      '''
      conn = __get_conn(**kwargs)
      ret = _get_domain(conn, name).destroy() == 0
      conn.close()
      return ref stop(name, **kwargs):
      '''
      Hard power down the virtual machine, this is equivalent to pulling the power.
  
      :param vm_: domain name
      :param connection: libvirt connection URI, overriding defaults
  
          .. versionadded:: 2019.2.0
      :param username: username to connect with, overriding defaults
  
          .. versionadded:: 2019.2.0
      :param password: password to connect with, overriding defaults
  
          .. versionadded:: 2019.2.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' virt.stop <domain>
      '''
      conn = __get_conn(**kwargs)
      ret = _get_domain(conn, name).destroy() == 0
      conn.close()
      return ret
docs: Hard power down the virtual machine, this is equivalent to pulling the power.
  
      :param vm_: domain name
      :param connection: libvirt connection URI, overriding defaults
  
          .. versionadded:: 2019.2.0
      :param username: username to connect with, overriding defaults
  
          .. versionadded:: 2019.2.0
      :param password: password to connect with, overriding defaults
  
          .. versionadded:: 2019.2.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' virt.stop <domain>