vsphere/internal/helper/virtualmachine/virtual_machine_helper.go
func UUIDsForMOIDs(client *govmomi.Client, moids []string) (MOIDForUUIDResults, error) {
	var results MOIDForUUIDResults
	for _, uuid := range moids {
		result, err := UUIDForMOID(client, uuid)
		if err != nil {
			return nil, err
		}
		results = append(results, result)
	}
	return results, nil
}
func UUIDsForMOIDs(client *govmomi.Client, moids []string) (MOIDForUUIDResults, error) {
	var results MOIDForUUIDResults
	for _, uuid := range moids {
		result, err := UUIDForMOID(client, uuid)
		if err != nil {
			return nil, err
		}
		results = append(results, result)
	}
	return results, nil
}
func UUIDsForMOIDs ( client * govmomi . Client , moids [ ] string ) ( MOIDForUUIDResults , error ) { var results MOIDForUUIDResults for _ , uuid := range moids { result , err := UUIDForMOID ( client , uuid ) if err != nil { return nil , err } results = append ( results , result ) } return results , nil }
// UUIDsForMOIDs returns a MOIDForUUIDResults for a list of MOIDs. If one MOID
// cannot be found, an error is returned. There are no partial results
// returned.
UUIDsForMOIDs returns a MOIDForUUIDResults for a list of MOIDs . If one MOID cannot be found an error is returned . There are no partial results returned .