code: func flattenClusterDpmHostConfigInfo(d *schema.ResourceData, obj *types.ClusterDpmHostConfigInfo) error {
  	return structure.SetBatch(d, map[string]interface{}{
  		"dpm_automation_level": obj.Behavior,
  		"dpm_enabled":          obj.Enabled,
  	})
  }
docs: // flattenClusterDpmHostConfigInfo saves a ClusterDpmHostConfigInfo into the
  // supplied ResourceData.