code: def _get_vm_by_name(name, allDetails=False):
      '''
      Since Proxmox works based op id's rather than names as identifiers this
      requires some filtering to retrieve the required information.
      '''
      vms = get_resources_vms(includeConfig=allDetails)
      if name in vms:
          return vms[name]
  
      log.info('VM with name "%s" could not be found.', name)
      return Falsf _get_vm_by_name(name, allDetails=False):
      '''
      Since Proxmox works based op id's rather than names as identifiers this
      requires some filtering to retrieve the required information.
      '''
      vms = get_resources_vms(includeConfig=allDetails)
      if name in vms:
          return vms[name]
  
      log.info('VM with name "%s" could not be found.', name)
      return False
docs: Since Proxmox works based op id's rather than names as identifiers this
      requires some filtering to retrieve the required information.