func resourceVSphereStorageDrsVMOverrideFlattenID(pod *object.StoragePod, vm *object.VirtualMachine) (string, error) {
	podID := pod.Reference().Value
	props, err := virtualmachine.Properties(vm)
	if err != nil {
		return "", fmt.Errorf("cannot compute ID off of properties of virtual machine: %s", err)
	}
	vmID := props.Config.Uuid
	return strings.Join([]string{podID, vmID}, ":"), nil
}
func resourceVSphereStorageDrsVMOverrideFlattenID(pod *object.StoragePod, vm *object.VirtualMachine) (string, error) {
	podID := pod.Reference().Value
	props, err := virtualmachine.Properties(vm)
	if err != nil {
		return "", fmt.Errorf("cannot compute ID off of properties of virtual machine: %s", err)
	}
	vmID := props.Config.Uuid
	return strings.Join([]string{podID, vmID}, ":"), nil
}
func resourceVSphereStorageDrsVMOverrideFlattenID ( pod * object . StoragePod , vm * object . VirtualMachine ) ( string , error ) { podID := pod . Reference ( ) . Value props , err := virtualmachine . Properties ( vm ) if err != nil { return " " , fmt . Errorf ( " " , err ) } vmID := props . Config . Uuid return strings . Join ( [ ] string { podID , vmID } , " " ) , nil }
// resourceVSphereStorageDrsVMOverrideFlattenID makes an ID for the
// vsphere_storage_drs_vm_override resource.
resourceVSphereStorageDrsVMOverrideFlattenID makes an ID for the vsphere_storage_drs_vm_override resource .