hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
hsdp.getCdlDataTypeDefinition
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) Data Type Definition.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";
const defA = hsdp.getCdlDataTypeDefinition({
cdlEndpoint: data.cdl_instance.cicd.endpoint,
dtdId: _var.dtd_id,
});
export const schema = defA.then(defA => defA.jsonSchema);
import pulumi
import pulumi_hsdp as hsdp
def_a = hsdp.get_cdl_data_type_definition(cdl_endpoint=data["cdl_instance"]["cicd"]["endpoint"],
dtd_id=var["dtd_id"])
pulumi.export("schema", def_a.json_schema)
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 {
defA, err := hsdp.LookupCdlDataTypeDefinition(ctx, &hsdp.LookupCdlDataTypeDefinitionArgs{
CdlEndpoint: data.Cdl_instance.Cicd.Endpoint,
DtdId: _var.Dtd_id,
}, nil)
if err != nil {
return err
}
ctx.Export("schema", defA.JsonSchema)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hsdp = Pulumi.Hsdp;
return await Deployment.RunAsync(() =>
{
var defA = Hsdp.GetCdlDataTypeDefinition.Invoke(new()
{
CdlEndpoint = data.Cdl_instance.Cicd.Endpoint,
DtdId = @var.Dtd_id,
});
return new Dictionary<string, object?>
{
["schema"] = defA.Apply(getCdlDataTypeDefinitionResult => getCdlDataTypeDefinitionResult.JsonSchema),
};
});
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.GetCdlDataTypeDefinitionArgs;
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 defA = HsdpFunctions.getCdlDataTypeDefinition(GetCdlDataTypeDefinitionArgs.builder()
.cdlEndpoint(data.cdl_instance().cicd().endpoint())
.dtdId(var_.dtd_id())
.build());
ctx.export("schema", defA.applyValue(getCdlDataTypeDefinitionResult -> getCdlDataTypeDefinitionResult.jsonSchema()));
}
}
variables:
defA:
fn::invoke:
function: hsdp:getCdlDataTypeDefinition
arguments:
cdlEndpoint: ${data.cdl_instance.cicd.endpoint}
dtdId: ${var.dtd_id}
outputs:
schema: ${defA.jsonSchema}
Using getCdlDataTypeDefinition
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 getCdlDataTypeDefinition(args: GetCdlDataTypeDefinitionArgs, opts?: InvokeOptions): Promise<GetCdlDataTypeDefinitionResult>
function getCdlDataTypeDefinitionOutput(args: GetCdlDataTypeDefinitionOutputArgs, opts?: InvokeOptions): Output<GetCdlDataTypeDefinitionResult>
def get_cdl_data_type_definition(cdl_endpoint: Optional[str] = None,
dtd_id: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCdlDataTypeDefinitionResult
def get_cdl_data_type_definition_output(cdl_endpoint: Optional[pulumi.Input[str]] = None,
dtd_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCdlDataTypeDefinitionResult]
func LookupCdlDataTypeDefinition(ctx *Context, args *LookupCdlDataTypeDefinitionArgs, opts ...InvokeOption) (*LookupCdlDataTypeDefinitionResult, error)
func LookupCdlDataTypeDefinitionOutput(ctx *Context, args *LookupCdlDataTypeDefinitionOutputArgs, opts ...InvokeOption) LookupCdlDataTypeDefinitionResultOutput
> Note: This function is named LookupCdlDataTypeDefinition
in the Go SDK.
public static class GetCdlDataTypeDefinition
{
public static Task<GetCdlDataTypeDefinitionResult> InvokeAsync(GetCdlDataTypeDefinitionArgs args, InvokeOptions? opts = null)
public static Output<GetCdlDataTypeDefinitionResult> Invoke(GetCdlDataTypeDefinitionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCdlDataTypeDefinitionResult> getCdlDataTypeDefinition(GetCdlDataTypeDefinitionArgs args, InvokeOptions options)
public static Output<GetCdlDataTypeDefinitionResult> getCdlDataTypeDefinition(GetCdlDataTypeDefinitionArgs args, InvokeOptions options)
fn::invoke:
function: hsdp:index/getCdlDataTypeDefinition:getCdlDataTypeDefinition
arguments:
# arguments dictionary
The following arguments are supported:
- Cdl
Endpoint string - The CDL instance endpoint to query
- Dtd
Id string - The ID of the DTD to look up
- Id string
- The GUID of the DTDT
- Cdl
Endpoint string - The CDL instance endpoint to query
- Dtd
Id string - The ID of the DTD to look up
- Id string
- The GUID of the DTDT
- cdl
Endpoint String - The CDL instance endpoint to query
- dtd
Id String - The ID of the DTD to look up
- id String
- The GUID of the DTDT
- cdl
Endpoint string - The CDL instance endpoint to query
- dtd
Id string - The ID of the DTD to look up
- id string
- The GUID of the DTDT
- cdl_
endpoint str - The CDL instance endpoint to query
- dtd_
id str - The ID of the DTD to look up
- id str
- The GUID of the DTDT
- cdl
Endpoint String - The CDL instance endpoint to query
- dtd
Id String - The ID of the DTD to look up
- id String
- The GUID of the DTDT
getCdlDataTypeDefinition Result
The following output properties are available:
- Cdl
Endpoint string - Created
By string - Which entity created the DTD
- Created
On string - When the DTD was created
- Dtd
Id string - Id string
- The GUID of the DTDT
- Json
Schema string - The JSON schema describing the DTD
- Updated
By string - Which entity updated the DTD last
- Updated
On string - When the DTD was updated
- Cdl
Endpoint string - Created
By string - Which entity created the DTD
- Created
On string - When the DTD was created
- Dtd
Id string - Id string
- The GUID of the DTDT
- Json
Schema string - The JSON schema describing the DTD
- Updated
By string - Which entity updated the DTD last
- Updated
On string - When the DTD was updated
- cdl
Endpoint String - created
By String - Which entity created the DTD
- created
On String - When the DTD was created
- dtd
Id String - id String
- The GUID of the DTDT
- json
Schema String - The JSON schema describing the DTD
- updated
By String - Which entity updated the DTD last
- updated
On String - When the DTD was updated
- cdl
Endpoint string - created
By string - Which entity created the DTD
- created
On string - When the DTD was created
- dtd
Id string - id string
- The GUID of the DTDT
- json
Schema string - The JSON schema describing the DTD
- updated
By string - Which entity updated the DTD last
- updated
On string - When the DTD was updated
- cdl_
endpoint str - created_
by str - Which entity created the DTD
- created_
on str - When the DTD was created
- dtd_
id str - id str
- The GUID of the DTDT
- json_
schema str - The JSON schema describing the DTD
- updated_
by str - Which entity updated the DTD last
- updated_
on str - When the DTD was updated
- cdl
Endpoint String - created
By String - Which entity created the DTD
- created
On String - When the DTD was created
- dtd
Id String - id String
- The GUID of the DTDT
- json
Schema String - The JSON schema describing the DTD
- updated
By String - Which entity updated the DTD last
- updated
On String - When the DTD was updated
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdp
Terraform Provider.
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software