hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
hsdp.getCdlResearchStudy
Explore with Pulumi AI
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
Retrieve details on HSDP Clinical Data Lake (CDL) research study.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";
const studyA = hsdp.getCdlResearchStudy({
    cdlEndpoint: data.cdl_instance.cicd.endpoint,
    studyId: _var.study_id,
});
export const uploaders = studyA.then(studyA => studyA.uploaders);
import pulumi
import pulumi_hsdp as hsdp
study_a = hsdp.get_cdl_research_study(cdl_endpoint=data["cdl_instance"]["cicd"]["endpoint"],
    study_id=var["study_id"])
pulumi.export("uploaders", study_a.uploaders)
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/hsdp/hsdp"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		studyA, err := hsdp.LookupCdlResearchStudy(ctx, &hsdp.LookupCdlResearchStudyArgs{
			CdlEndpoint: data.Cdl_instance.Cicd.Endpoint,
			StudyId:     _var.Study_id,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("uploaders", studyA.Uploaders)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hsdp = Pulumi.Hsdp;
return await Deployment.RunAsync(() => 
{
    var studyA = Hsdp.GetCdlResearchStudy.Invoke(new()
    {
        CdlEndpoint = data.Cdl_instance.Cicd.Endpoint,
        StudyId = @var.Study_id,
    });
    return new Dictionary<string, object?>
    {
        ["uploaders"] = studyA.Apply(getCdlResearchStudyResult => getCdlResearchStudyResult.Uploaders),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.HsdpFunctions;
import com.pulumi.hsdp.inputs.GetCdlResearchStudyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var studyA = HsdpFunctions.getCdlResearchStudy(GetCdlResearchStudyArgs.builder()
            .cdlEndpoint(data.cdl_instance().cicd().endpoint())
            .studyId(var_.study_id())
            .build());
        ctx.export("uploaders", studyA.applyValue(getCdlResearchStudyResult -> getCdlResearchStudyResult.uploaders()));
    }
}
variables:
  studyA:
    fn::invoke:
      function: hsdp:getCdlResearchStudy
      arguments:
        cdlEndpoint: ${data.cdl_instance.cicd.endpoint}
        studyId: ${var.study_id}
outputs:
  uploaders: ${studyA.uploaders}
Using getCdlResearchStudy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCdlResearchStudy(args: GetCdlResearchStudyArgs, opts?: InvokeOptions): Promise<GetCdlResearchStudyResult>
function getCdlResearchStudyOutput(args: GetCdlResearchStudyOutputArgs, opts?: InvokeOptions): Output<GetCdlResearchStudyResult>def get_cdl_research_study(cdl_endpoint: Optional[str] = None,
                           id: Optional[str] = None,
                           study_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetCdlResearchStudyResult
def get_cdl_research_study_output(cdl_endpoint: Optional[pulumi.Input[str]] = None,
                           id: Optional[pulumi.Input[str]] = None,
                           study_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetCdlResearchStudyResult]func LookupCdlResearchStudy(ctx *Context, args *LookupCdlResearchStudyArgs, opts ...InvokeOption) (*LookupCdlResearchStudyResult, error)
func LookupCdlResearchStudyOutput(ctx *Context, args *LookupCdlResearchStudyOutputArgs, opts ...InvokeOption) LookupCdlResearchStudyResultOutput> Note: This function is named LookupCdlResearchStudy in the Go SDK.
public static class GetCdlResearchStudy 
{
    public static Task<GetCdlResearchStudyResult> InvokeAsync(GetCdlResearchStudyArgs args, InvokeOptions? opts = null)
    public static Output<GetCdlResearchStudyResult> Invoke(GetCdlResearchStudyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCdlResearchStudyResult> getCdlResearchStudy(GetCdlResearchStudyArgs args, InvokeOptions options)
public static Output<GetCdlResearchStudyResult> getCdlResearchStudy(GetCdlResearchStudyArgs args, InvokeOptions options)
fn::invoke:
  function: hsdp:index/getCdlResearchStudy:getCdlResearchStudy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Cdl
Endpoint string - The CDL instance endpoint to query
 - Study
Id string - Id string
 - The GUID of the study
 
- Cdl
Endpoint string - The CDL instance endpoint to query
 - Study
Id string - Id string
 - The GUID of the study
 
- cdl
Endpoint String - The CDL instance endpoint to query
 - study
Id String - id String
 - The GUID of the study
 
- cdl
Endpoint string - The CDL instance endpoint to query
 - study
Id string - id string
 - The GUID of the study
 
- cdl_
endpoint str - The CDL instance endpoint to query
 - study_
id str - id str
 - The GUID of the study
 
- cdl
Endpoint String - The CDL instance endpoint to query
 - study
Id String - id String
 - The GUID of the study
 
getCdlResearchStudy Result
The following output properties are available:
- Cdl
Endpoint string - Data
Protected boolFrom Deletion  - Is data protected from deletion
 - Data
Scientists List<string> - Description string
 - The description of the application
 - Ends
At string - The end date of the study
 - Id string
 - The GUID of the study
 - Monitors List<string>
 - The list of IAM users who have role MONITOR
 - Study
Id string - Study
Managers List<string> - The list of IAM users who have role STUDYMANAGER
 - Study
Owner string - The owner of the study
 - Title string
 - Uploaders List<string>
 - The list of IAM users who have role UPLOADER
 
- Cdl
Endpoint string - Data
Protected boolFrom Deletion  - Is data protected from deletion
 - Data
Scientists []string - Description string
 - The description of the application
 - Ends
At string - The end date of the study
 - Id string
 - The GUID of the study
 - Monitors []string
 - The list of IAM users who have role MONITOR
 - Study
Id string - Study
Managers []string - The list of IAM users who have role STUDYMANAGER
 - Study
Owner string - The owner of the study
 - Title string
 - Uploaders []string
 - The list of IAM users who have role UPLOADER
 
- cdl
Endpoint String - data
Protected BooleanFrom Deletion  - Is data protected from deletion
 - data
Scientists List<String> - description String
 - The description of the application
 - ends
At String - The end date of the study
 - id String
 - The GUID of the study
 - monitors List<String>
 - The list of IAM users who have role MONITOR
 - study
Id String - study
Managers List<String> - The list of IAM users who have role STUDYMANAGER
 - study
Owner String - The owner of the study
 - title String
 - uploaders List<String>
 - The list of IAM users who have role UPLOADER
 
- cdl
Endpoint string - data
Protected booleanFrom Deletion  - Is data protected from deletion
 - data
Scientists string[] - description string
 - The description of the application
 - ends
At string - The end date of the study
 - id string
 - The GUID of the study
 - monitors string[]
 - The list of IAM users who have role MONITOR
 - study
Id string - study
Managers string[] - The list of IAM users who have role STUDYMANAGER
 - study
Owner string - The owner of the study
 - title string
 - uploaders string[]
 - The list of IAM users who have role UPLOADER
 
- cdl_
endpoint str - data_
protected_ boolfrom_ deletion  - Is data protected from deletion
 - data_
scientists Sequence[str] - description str
 - The description of the application
 - ends_
at str - The end date of the study
 - id str
 - The GUID of the study
 - monitors Sequence[str]
 - The list of IAM users who have role MONITOR
 - study_
id str - study_
managers Sequence[str] - The list of IAM users who have role STUDYMANAGER
 - study_
owner str - The owner of the study
 - title str
 - uploaders Sequence[str]
 - The list of IAM users who have role UPLOADER
 
- cdl
Endpoint String - data
Protected BooleanFrom Deletion  - Is data protected from deletion
 - data
Scientists List<String> - description String
 - The description of the application
 - ends
At String - The end date of the study
 - id String
 - The GUID of the study
 - monitors List<String>
 - The list of IAM users who have role MONITOR
 - study
Id String - study
Managers List<String> - The list of IAM users who have role STUDYMANAGER
 - study
Owner String - The owner of the study
 - title String
 - uploaders List<String>
 - The list of IAM users who have role UPLOADER
 
Package Details
- Repository
 - hsdp philips-software/terraform-provider-hsdp
 - License
 - Notes
 - This Pulumi package is based on the 
hsdpTerraform Provider. 
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software