code: func (dc *Datacenter) GetVMByPath(ctx context.Context, vmPath string) (*VirtualMachine, error) {
  	finder := getFinder(dc)
  	vm, err := finder.VirtualMachine(ctx, vmPath)
  	if err != nil {
  		klog.Errorf("Failed to find VM by Path. VM Path: %s, err: %+v", vmPath, err)
  		return nil, err
  	}
  	virtualMachine := VirtualMachine{vm, dc}
  	return &virtualMachine, nil
  }
docs: // GetVMByPath gets the VM object from the given vmPath
  // vmPath should be the full path to VM and not just the name