code: func expandClusterConfigSpecEx(d *schema.ResourceData, version viapi.VSphereVersion) *types.ClusterConfigSpecEx {
  	obj := &types.ClusterConfigSpecEx{
  		DasConfig: expandClusterDasConfigInfo(d, version),
  		DpmConfig: expandClusterDpmConfigInfo(d),
  		DrsConfig: expandClusterDrsConfigInfo(d),
  	}
  
  	if version.Newer(viapi.VSphereVersion{Product: version.Product, Major: 6, Minor: 5}) {
  		obj.InfraUpdateHaConfig = expandClusterInfraUpdateHaConfigInfo(d)
  		obj.Orchestration = expandClusterOrchestrationInfo(d)
  		obj.ProactiveDrsConfig = expandClusterProactiveDrsConfigInfo(d)
  	}
  
  	return obj
  }
docs: // expandClusterConfigSpecEx reads certain ResourceData keys and returns a
  // ClusterConfigSpecEx.