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

hsdp.getCdlExportRoute

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) Export Route.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as hsdp from "@pulumi/hsdp";
    
    const expRoute1 = hsdp.getCdlExportRoute({
        cdlEndpoint: `${_var.datalake_url}/store/cdl/${_var.cdl_tenant_org}`,
        exportRouteId: "176c947c-afeb-4952-a641-80ed8878ce2d",
    });
    export const hsdpCdlExportRoute = expRoute1;
    
    import pulumi
    import pulumi_hsdp as hsdp
    
    exp_route1 = hsdp.get_cdl_export_route(cdl_endpoint=f"{var['datalake_url']}/store/cdl/{var['cdl_tenant_org']}",
        export_route_id="176c947c-afeb-4952-a641-80ed8878ce2d")
    pulumi.export("hsdpCdlExportRoute", exp_route1)
    
    package main
    
    import (
    	"fmt"
    
    	"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 {
    		expRoute1, err := hsdp.LookupCdlExportRoute(ctx, &hsdp.LookupCdlExportRouteArgs{
    			CdlEndpoint:   fmt.Sprintf("%v/store/cdl/%v", _var.Datalake_url, _var.Cdl_tenant_org),
    			ExportRouteId: "176c947c-afeb-4952-a641-80ed8878ce2d",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("hsdpCdlExportRoute", expRoute1)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Hsdp = Pulumi.Hsdp;
    
    return await Deployment.RunAsync(() => 
    {
        var expRoute1 = Hsdp.GetCdlExportRoute.Invoke(new()
        {
            CdlEndpoint = $"{@var.Datalake_url}/store/cdl/{@var.Cdl_tenant_org}",
            ExportRouteId = "176c947c-afeb-4952-a641-80ed8878ce2d",
        });
    
        return new Dictionary<string, object?>
        {
            ["hsdpCdlExportRoute"] = expRoute1,
        };
    });
    
    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.GetCdlExportRouteArgs;
    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 expRoute1 = HsdpFunctions.getCdlExportRoute(GetCdlExportRouteArgs.builder()
                .cdlEndpoint(String.format("%s/store/cdl/%s", var_.datalake_url(),var_.cdl_tenant_org()))
                .exportRouteId("176c947c-afeb-4952-a641-80ed8878ce2d")
                .build());
    
            ctx.export("hsdpCdlExportRoute", expRoute1.applyValue(getCdlExportRouteResult -> getCdlExportRouteResult));
        }
    }
    
    variables:
      expRoute1:
        fn::invoke:
          function: hsdp:getCdlExportRoute
          arguments:
            cdlEndpoint: ${var.datalake_url}/store/cdl/${var.cdl_tenant_org}
            exportRouteId: 176c947c-afeb-4952-a641-80ed8878ce2d
    outputs:
      hsdpCdlExportRoute: ${expRoute1}
    

    Using getCdlExportRoute

    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 getCdlExportRoute(args: GetCdlExportRouteArgs, opts?: InvokeOptions): Promise<GetCdlExportRouteResult>
    function getCdlExportRouteOutput(args: GetCdlExportRouteOutputArgs, opts?: InvokeOptions): Output<GetCdlExportRouteResult>
    def get_cdl_export_route(cdl_endpoint: Optional[str] = None,
                             export_route_id: Optional[str] = None,
                             id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetCdlExportRouteResult
    def get_cdl_export_route_output(cdl_endpoint: Optional[pulumi.Input[str]] = None,
                             export_route_id: Optional[pulumi.Input[str]] = None,
                             id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetCdlExportRouteResult]
    func LookupCdlExportRoute(ctx *Context, args *LookupCdlExportRouteArgs, opts ...InvokeOption) (*LookupCdlExportRouteResult, error)
    func LookupCdlExportRouteOutput(ctx *Context, args *LookupCdlExportRouteOutputArgs, opts ...InvokeOption) LookupCdlExportRouteResultOutput

    > Note: This function is named LookupCdlExportRoute in the Go SDK.

    public static class GetCdlExportRoute 
    {
        public static Task<GetCdlExportRouteResult> InvokeAsync(GetCdlExportRouteArgs args, InvokeOptions? opts = null)
        public static Output<GetCdlExportRouteResult> Invoke(GetCdlExportRouteInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCdlExportRouteResult> getCdlExportRoute(GetCdlExportRouteArgs args, InvokeOptions options)
    public static Output<GetCdlExportRouteResult> getCdlExportRoute(GetCdlExportRouteArgs args, InvokeOptions options)
    
    fn::invoke:
      function: hsdp:index/getCdlExportRoute:getCdlExportRoute
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CdlEndpoint string
    The CDL instance endpoint to query
    ExportRouteId string
    The ID of the Export Route to look up
    Id string
    CdlEndpoint string
    The CDL instance endpoint to query
    ExportRouteId string
    The ID of the Export Route to look up
    Id string
    cdlEndpoint String
    The CDL instance endpoint to query
    exportRouteId String
    The ID of the Export Route to look up
    id String
    cdlEndpoint string
    The CDL instance endpoint to query
    exportRouteId string
    The ID of the Export Route to look up
    id string
    cdl_endpoint str
    The CDL instance endpoint to query
    export_route_id str
    The ID of the Export Route to look up
    id str
    cdlEndpoint String
    The CDL instance endpoint to query
    exportRouteId String
    The ID of the Export Route to look up
    id String

    getCdlExportRoute Result

    The following output properties are available:

    AutoExport bool
    Boolean variable which indicates whether autoExport is enabled or not
    CdlEndpoint string
    CreatedBy string
    The email ID of the user who created this ExportRoute
    CreatedOn string
    Creation-Datetime of this ExportRoute
    Description string
    Description string of the ExportRotue
    Destination string
    Destination details of the ExportRoute (Appears as a JSON string)
    DisplayName string
    Display name of the ExportRoute
    ExportRouteId string
    The UUID of the ExportRoute
    ExportRouteName string
    Name given to the ExportRoute
    Id string
    Source string
    Source Clinical Datalake details of the ExportRoute (Appears as a JSON string)
    UpdatedBy string
    Email ID of the user who updated the ExportRoute
    UpdatedOn string
    Datetime when the ExportRoute was updated
    AutoExport bool
    Boolean variable which indicates whether autoExport is enabled or not
    CdlEndpoint string
    CreatedBy string
    The email ID of the user who created this ExportRoute
    CreatedOn string
    Creation-Datetime of this ExportRoute
    Description string
    Description string of the ExportRotue
    Destination string
    Destination details of the ExportRoute (Appears as a JSON string)
    DisplayName string
    Display name of the ExportRoute
    ExportRouteId string
    The UUID of the ExportRoute
    ExportRouteName string
    Name given to the ExportRoute
    Id string
    Source string
    Source Clinical Datalake details of the ExportRoute (Appears as a JSON string)
    UpdatedBy string
    Email ID of the user who updated the ExportRoute
    UpdatedOn string
    Datetime when the ExportRoute was updated
    autoExport Boolean
    Boolean variable which indicates whether autoExport is enabled or not
    cdlEndpoint String
    createdBy String
    The email ID of the user who created this ExportRoute
    createdOn String
    Creation-Datetime of this ExportRoute
    description String
    Description string of the ExportRotue
    destination String
    Destination details of the ExportRoute (Appears as a JSON string)
    displayName String
    Display name of the ExportRoute
    exportRouteId String
    The UUID of the ExportRoute
    exportRouteName String
    Name given to the ExportRoute
    id String
    source String
    Source Clinical Datalake details of the ExportRoute (Appears as a JSON string)
    updatedBy String
    Email ID of the user who updated the ExportRoute
    updatedOn String
    Datetime when the ExportRoute was updated
    autoExport boolean
    Boolean variable which indicates whether autoExport is enabled or not
    cdlEndpoint string
    createdBy string
    The email ID of the user who created this ExportRoute
    createdOn string
    Creation-Datetime of this ExportRoute
    description string
    Description string of the ExportRotue
    destination string
    Destination details of the ExportRoute (Appears as a JSON string)
    displayName string
    Display name of the ExportRoute
    exportRouteId string
    The UUID of the ExportRoute
    exportRouteName string
    Name given to the ExportRoute
    id string
    source string
    Source Clinical Datalake details of the ExportRoute (Appears as a JSON string)
    updatedBy string
    Email ID of the user who updated the ExportRoute
    updatedOn string
    Datetime when the ExportRoute was updated
    auto_export bool
    Boolean variable which indicates whether autoExport is enabled or not
    cdl_endpoint str
    created_by str
    The email ID of the user who created this ExportRoute
    created_on str
    Creation-Datetime of this ExportRoute
    description str
    Description string of the ExportRotue
    destination str
    Destination details of the ExportRoute (Appears as a JSON string)
    display_name str
    Display name of the ExportRoute
    export_route_id str
    The UUID of the ExportRoute
    export_route_name str
    Name given to the ExportRoute
    id str
    source str
    Source Clinical Datalake details of the ExportRoute (Appears as a JSON string)
    updated_by str
    Email ID of the user who updated the ExportRoute
    updated_on str
    Datetime when the ExportRoute was updated
    autoExport Boolean
    Boolean variable which indicates whether autoExport is enabled or not
    cdlEndpoint String
    createdBy String
    The email ID of the user who created this ExportRoute
    createdOn String
    Creation-Datetime of this ExportRoute
    description String
    Description string of the ExportRotue
    destination String
    Destination details of the ExportRoute (Appears as a JSON string)
    displayName String
    Display name of the ExportRoute
    exportRouteId String
    The UUID of the ExportRoute
    exportRouteName String
    Name given to the ExportRoute
    id String
    source String
    Source Clinical Datalake details of the ExportRoute (Appears as a JSON string)
    updatedBy String
    Email ID of the user who updated the ExportRoute
    updatedOn String
    Datetime when the ExportRoute was updated

    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