docs: def destroy_vm_by_name(self, si, vm_name, vm_path, logger):
          """ 
          destroy the given vm  
          :param si:      pyvmomi 'ServiceInstance'
          :param vm_name: str name of the vm to destroyed
          :param vm_path: str path to the vm that will be destroyed
          :param logger:
          """
          if vm_name is not None:
              vm = self.find_vm_by_name(si, vm_path, vm_name)
              if vm:
                  return self.destroy_vm(vm, logger)
          raise ValueError('vm not found')