func flattenClusterDpmConfigInfo(d *schema.ResourceData, obj *types.ClusterDpmConfigInfo) error {
	return structure.SetBatch(d, map[string]interface{}{
		"dpm_automation_level": obj.DefaultDpmBehavior,
		"dpm_enabled":          obj.Enabled,
		"dpm_threshold":        obj.HostPowerActionRate,
	})
}
func flattenClusterDpmConfigInfo(d *schema.ResourceData, obj *types.ClusterDpmConfigInfo) error {
	return structure.SetBatch(d, map[string]interface{}{
		"dpm_automation_level": obj.DefaultDpmBehavior,
		"dpm_enabled":          obj.Enabled,
		"dpm_threshold":        obj.HostPowerActionRate,
	})
}
func flattenClusterDpmConfigInfo ( d * schema . ResourceData , obj * types . ClusterDpmConfigInfo ) error { return structure . SetBatch ( d , map [ string ] interface { } { " " : obj . DefaultDpmBehavior , " " : obj . Enabled , " " : obj . HostPowerActionRate , } ) }
// flattenClusterDpmConfigInfo saves a ClusterDpmConfigInfo into the supplied
// ResourceData.
flattenClusterDpmConfigInfo saves a ClusterDpmConfigInfo into the supplied ResourceData .