code: func (s SearchIndex) FindByDatastorePath(ctx context.Context, dc *Datacenter, path string) (Reference, error) {
  	req := types.FindByDatastorePath{
  		This:       s.Reference(),
  		Datacenter: dc.Reference(),
  		Path:       path,
  	}
  
  	res, err := methods.FindByDatastorePath(ctx, s.c, &req)
  	if err != nil {
  		return nil, err
  	}
  
  	if res.Returnval == nil {
  		return nil, nil
  	}
  	return NewReference(s.c, *res.Returnval), nil
  }
docs: // FindByDatastorePath finds a virtual machine by its location on a datastore.