code: func expandClusterDpmConfigInfo(d *schema.ResourceData) *types.ClusterDpmConfigInfo {
  	obj := &types.ClusterDpmConfigInfo{
  		DefaultDpmBehavior:  types.DpmBehavior(d.Get("dpm_automation_level").(string)),
  		Enabled:             structure.GetBool(d, "dpm_enabled"),
  		HostPowerActionRate: int32(d.Get("dpm_threshold").(int)),
  	}
  
  	return obj
  }
docs: // expandClusterDpmConfigInfo reads certain ResourceData keys and returns a
  // ClusterDpmConfigInfo.