1. Packages
  2. Hsdp Provider
  3. API Docs
  4. getCdlResearchStudy
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

hsdp.getCdlResearchStudy

Explore with Pulumi AI

hsdp logo
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 dictionary

    The following arguments are supported:

    CdlEndpoint string
    The CDL instance endpoint to query
    StudyId string
    Id string
    The GUID of the study
    CdlEndpoint string
    The CDL instance endpoint to query
    StudyId string
    Id string
    The GUID of the study
    cdlEndpoint String
    The CDL instance endpoint to query
    studyId String
    id String
    The GUID of the study
    cdlEndpoint string
    The CDL instance endpoint to query
    studyId 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
    cdlEndpoint String
    The CDL instance endpoint to query
    studyId String
    id String
    The GUID of the study

    getCdlResearchStudy Result

    The following output properties are available:

    CdlEndpoint string
    DataProtectedFromDeletion bool
    Is data protected from deletion
    DataScientists List<string>
    Description string
    The description of the application
    EndsAt 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
    StudyId string
    StudyManagers List<string>
    The list of IAM users who have role STUDYMANAGER
    StudyOwner string
    The owner of the study
    Title string
    Uploaders List<string>
    The list of IAM users who have role UPLOADER
    CdlEndpoint string
    DataProtectedFromDeletion bool
    Is data protected from deletion
    DataScientists []string
    Description string
    The description of the application
    EndsAt 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
    StudyId string
    StudyManagers []string
    The list of IAM users who have role STUDYMANAGER
    StudyOwner string
    The owner of the study
    Title string
    Uploaders []string
    The list of IAM users who have role UPLOADER
    cdlEndpoint String
    dataProtectedFromDeletion Boolean
    Is data protected from deletion
    dataScientists List<String>
    description String
    The description of the application
    endsAt 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
    studyId String
    studyManagers List<String>
    The list of IAM users who have role STUDYMANAGER
    studyOwner String
    The owner of the study
    title String
    uploaders List<String>
    The list of IAM users who have role UPLOADER
    cdlEndpoint string
    dataProtectedFromDeletion boolean
    Is data protected from deletion
    dataScientists string[]
    description string
    The description of the application
    endsAt 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
    studyId string
    studyManagers string[]
    The list of IAM users who have role STUDYMANAGER
    studyOwner string
    The owner of the study
    title string
    uploaders string[]
    The list of IAM users who have role UPLOADER
    cdl_endpoint str
    data_protected_from_deletion bool
    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
    cdlEndpoint String
    dataProtectedFromDeletion Boolean
    Is data protected from deletion
    dataScientists List<String>
    description String
    The description of the application
    endsAt 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
    studyId String
    studyManagers List<String>
    The list of IAM users who have role STUDYMANAGER
    studyOwner 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 hsdp Terraform Provider.
    hsdp logo
    hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software