vsphere/resource_vsphere_compute_cluster.go
func flattenClusterProactiveDrsConfigInfo(d *schema.ResourceData, obj *types.ClusterProactiveDrsConfigInfo) error {
	return structure.SetBatch(d, map[string]interface{}{
		"drs_enable_predictive_drs": obj.Enabled,
	})
}
func flattenClusterProactiveDrsConfigInfo(d *schema.ResourceData, obj *types.ClusterProactiveDrsConfigInfo) error {
	return structure.SetBatch(d, map[string]interface{}{
		"drs_enable_predictive_drs": obj.Enabled,
	})
}
func flattenClusterProactiveDrsConfigInfo ( d * schema . ResourceData , obj * types . ClusterProactiveDrsConfigInfo ) error { return structure . SetBatch ( d , map [ string ] interface { } { " " : obj . Enabled , } ) }
// flattenClusterProactiveDrsConfigInfo saves a ClusterProactiveDrsConfigInfo into the
// supplied ResourceData.
flattenClusterProactiveDrsConfigInfo saves a ClusterProactiveDrsConfigInfo into the supplied ResourceData .