code: 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,
  	})
  }
docs: // flattenClusterDpmConfigInfo saves a ClusterDpmConfigInfo into the supplied
  // ResourceData.