code: func (dc *Datacenter) GetVMByUUID(ctx context.Context, vmUUID string) (*VirtualMachine, error) {
  	s := object.NewSearchIndex(dc.Client())
  	vmUUID = strings.ToLower(strings.TrimSpace(vmUUID))
  	svm, err := s.FindByUuid(ctx, dc.Datacenter, vmUUID, true, nil)
  	if err != nil {
  		klog.Errorf("Failed to find VM by UUID. VM UUID: %s, err: %+v", vmUUID, err)
  		return nil, err
  	}
  	if svm == nil {
  		klog.Errorf("Unable to find VM by UUID. VM UUID: %s", vmUUID)
  		return nil, ErrNoVMFound
  	}
  	virtualMachine := VirtualMachine{object.NewVirtualMachine(dc.Client(), svm.Reference()), dc}
  	return &virtualMachine, nil
  }
docs: // GetVMByUUID gets the VM object from the given vmUUID