code: func flattenClusterVMGroup(d *schema.ResourceData, meta interface{}, obj *types.ClusterVmGroup) error {
  	client, err := resourceVSphereComputeClusterVMGroupClient(meta)
  	if err != nil {
  		return err
  	}
  
  	results, err := virtualmachine.UUIDsForManagedObjectReferences(
  		client,
  		obj.Vm,
  	)
  	if err != nil {
  		return err
  	}
  
  	return structure.SetBatch(d, map[string]interface{}{
  		"virtual_machine_ids": results.UUIDs(),
  	})
  }
docs: // flattenClusterVmGroup saves a ClusterVmGroup into the supplied ResourceData.