code: def list_nodes_min(kwargs=None, call=None):
      '''
      Return a list of all VMs and templates that are on the specified provider, with no details
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -f list_nodes_min my-vmware-config
      '''
      if call == 'action':
          raise SaltCloudSystemExit(
              'The list_nodes_min function must be called '
              'with -f or --function.'
          )
  
      ret = {}
      vm_properties = ["name"]
  
      vm_list = salt.utils.vmware.get_mors_with_properties(_get_si(), vim.VirtualMachine, vm_properties)
  
      for vm in vm_list:
          ret[vm['name']] = {'state': 'Running', 'id': vm['name']}
  
      return ref list_nodes_min(kwargs=None, call=None):
      '''
      Return a list of all VMs and templates that are on the specified provider, with no details
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -f list_nodes_min my-vmware-config
      '''
      if call == 'action':
          raise SaltCloudSystemExit(
              'The list_nodes_min function must be called '
              'with -f or --function.'
          )
  
      ret = {}
      vm_properties = ["name"]
  
      vm_list = salt.utils.vmware.get_mors_with_properties(_get_si(), vim.VirtualMachine, vm_properties)
  
      for vm in vm_list:
          ret[vm['name']] = {'state': 'Running', 'id': vm['name']}
  
      return ret
docs: Return a list of all VMs and templates that are on the specified provider, with no details
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -f list_nodes_min my-vmware-config