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

hsdp.DicomStoreConfig

Explore with Pulumi AI

hsdp logo
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software

    This resource manages DICOM store configuration of an HSDP provisioned DICOM Store.

    Example Usage

    The following example demonstrates the basic configuration of a DICOM store

    import * as pulumi from "@pulumi/pulumi";
    import * as hsdp from "@pulumi/hsdp";
    
    const dicom = new hsdp.DicomStoreConfig("dicom", {
        configUrl: _var.dicom_base_url,
        organizationId: _var.iam_org_id,
        cdrServiceAccount: {
            serviceId: hsdp_iam_service.cdr.service_id,
            privateKey: hsdp_iam_service.cdr.private_key,
        },
        fhirStore: {
            mpiEndpoint: "https://foo.bar/xxx",
        },
    });
    
    import pulumi
    import pulumi_hsdp as hsdp
    
    dicom = hsdp.DicomStoreConfig("dicom",
        config_url=var["dicom_base_url"],
        organization_id=var["iam_org_id"],
        cdr_service_account={
            "service_id": hsdp_iam_service["cdr"]["service_id"],
            "private_key": hsdp_iam_service["cdr"]["private_key"],
        },
        fhir_store={
            "mpi_endpoint": "https://foo.bar/xxx",
        })
    
    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 {
    		_, err := hsdp.NewDicomStoreConfig(ctx, "dicom", &hsdp.DicomStoreConfigArgs{
    			ConfigUrl:      pulumi.Any(_var.Dicom_base_url),
    			OrganizationId: pulumi.Any(_var.Iam_org_id),
    			CdrServiceAccount: &hsdp.DicomStoreConfigCdrServiceAccountArgs{
    				ServiceId:  pulumi.Any(hsdp_iam_service.Cdr.Service_id),
    				PrivateKey: pulumi.Any(hsdp_iam_service.Cdr.Private_key),
    			},
    			FhirStore: &hsdp.DicomStoreConfigFhirStoreArgs{
    				MpiEndpoint: pulumi.String("https://foo.bar/xxx"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Hsdp = Pulumi.Hsdp;
    
    return await Deployment.RunAsync(() => 
    {
        var dicom = new Hsdp.DicomStoreConfig("dicom", new()
        {
            ConfigUrl = @var.Dicom_base_url,
            OrganizationId = @var.Iam_org_id,
            CdrServiceAccount = new Hsdp.Inputs.DicomStoreConfigCdrServiceAccountArgs
            {
                ServiceId = hsdp_iam_service.Cdr.Service_id,
                PrivateKey = hsdp_iam_service.Cdr.Private_key,
            },
            FhirStore = new Hsdp.Inputs.DicomStoreConfigFhirStoreArgs
            {
                MpiEndpoint = "https://foo.bar/xxx",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.hsdp.DicomStoreConfig;
    import com.pulumi.hsdp.DicomStoreConfigArgs;
    import com.pulumi.hsdp.inputs.DicomStoreConfigCdrServiceAccountArgs;
    import com.pulumi.hsdp.inputs.DicomStoreConfigFhirStoreArgs;
    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) {
            var dicom = new DicomStoreConfig("dicom", DicomStoreConfigArgs.builder()
                .configUrl(var_.dicom_base_url())
                .organizationId(var_.iam_org_id())
                .cdrServiceAccount(DicomStoreConfigCdrServiceAccountArgs.builder()
                    .serviceId(hsdp_iam_service.cdr().service_id())
                    .privateKey(hsdp_iam_service.cdr().private_key())
                    .build())
                .fhirStore(DicomStoreConfigFhirStoreArgs.builder()
                    .mpiEndpoint("https://foo.bar/xxx")
                    .build())
                .build());
    
        }
    }
    
    resources:
      dicom:
        type: hsdp:DicomStoreConfig
        properties:
          configUrl: ${var.dicom_base_url}
          organizationId: ${var.iam_org_id}
          cdrServiceAccount:
            serviceId: ${hsdp_iam_service.cdr.service_id}
            privateKey: ${hsdp_iam_service.cdr.private_key}
          fhirStore:
            mpiEndpoint: https://foo.bar/xxx
    

    Create DicomStoreConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DicomStoreConfig(name: string, args: DicomStoreConfigArgs, opts?: CustomResourceOptions);
    @overload
    def DicomStoreConfig(resource_name: str,
                         args: DicomStoreConfigArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def DicomStoreConfig(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         config_url: Optional[str] = None,
                         organization_id: Optional[str] = None,
                         cdr_service_account: Optional[DicomStoreConfigCdrServiceAccountArgs] = None,
                         dicom_store_config_id: Optional[str] = None,
                         fhir_store: Optional[DicomStoreConfigFhirStoreArgs] = None)
    func NewDicomStoreConfig(ctx *Context, name string, args DicomStoreConfigArgs, opts ...ResourceOption) (*DicomStoreConfig, error)
    public DicomStoreConfig(string name, DicomStoreConfigArgs args, CustomResourceOptions? opts = null)
    public DicomStoreConfig(String name, DicomStoreConfigArgs args)
    public DicomStoreConfig(String name, DicomStoreConfigArgs args, CustomResourceOptions options)
    
    type: hsdp:DicomStoreConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DicomStoreConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DicomStoreConfigArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DicomStoreConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DicomStoreConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DicomStoreConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var dicomStoreConfigResource = new Hsdp.DicomStoreConfig("dicomStoreConfigResource", new()
    {
        ConfigUrl = "string",
        OrganizationId = "string",
        CdrServiceAccount = new Hsdp.Inputs.DicomStoreConfigCdrServiceAccountArgs
        {
            PrivateKey = "string",
            ServiceId = "string",
            Id = "string",
        },
        DicomStoreConfigId = "string",
        FhirStore = new Hsdp.Inputs.DicomStoreConfigFhirStoreArgs
        {
            MpiEndpoint = "string",
        },
    });
    
    example, err := hsdp.NewDicomStoreConfig(ctx, "dicomStoreConfigResource", &hsdp.DicomStoreConfigArgs{
    	ConfigUrl:      pulumi.String("string"),
    	OrganizationId: pulumi.String("string"),
    	CdrServiceAccount: &hsdp.DicomStoreConfigCdrServiceAccountArgs{
    		PrivateKey: pulumi.String("string"),
    		ServiceId:  pulumi.String("string"),
    		Id:         pulumi.String("string"),
    	},
    	DicomStoreConfigId: pulumi.String("string"),
    	FhirStore: &hsdp.DicomStoreConfigFhirStoreArgs{
    		MpiEndpoint: pulumi.String("string"),
    	},
    })
    
    var dicomStoreConfigResource = new DicomStoreConfig("dicomStoreConfigResource", DicomStoreConfigArgs.builder()
        .configUrl("string")
        .organizationId("string")
        .cdrServiceAccount(DicomStoreConfigCdrServiceAccountArgs.builder()
            .privateKey("string")
            .serviceId("string")
            .id("string")
            .build())
        .dicomStoreConfigId("string")
        .fhirStore(DicomStoreConfigFhirStoreArgs.builder()
            .mpiEndpoint("string")
            .build())
        .build());
    
    dicom_store_config_resource = hsdp.DicomStoreConfig("dicomStoreConfigResource",
        config_url="string",
        organization_id="string",
        cdr_service_account={
            "private_key": "string",
            "service_id": "string",
            "id": "string",
        },
        dicom_store_config_id="string",
        fhir_store={
            "mpi_endpoint": "string",
        })
    
    const dicomStoreConfigResource = new hsdp.DicomStoreConfig("dicomStoreConfigResource", {
        configUrl: "string",
        organizationId: "string",
        cdrServiceAccount: {
            privateKey: "string",
            serviceId: "string",
            id: "string",
        },
        dicomStoreConfigId: "string",
        fhirStore: {
            mpiEndpoint: "string",
        },
    });
    
    type: hsdp:DicomStoreConfig
    properties:
        cdrServiceAccount:
            id: string
            privateKey: string
            serviceId: string
        configUrl: string
        dicomStoreConfigId: string
        fhirStore:
            mpiEndpoint: string
        organizationId: string
    

    DicomStoreConfig Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DicomStoreConfig resource accepts the following input properties:

    ConfigUrl string
    The base config URL of the DICOM Store instance
    OrganizationId string
    the IAM organization ID to use for authorization
    CdrServiceAccount DicomStoreConfigCdrServiceAccount
    Details of the CDR service account
    DicomStoreConfigId string
    FhirStore DicomStoreConfigFhirStore
    the FHIR store configuration
    ConfigUrl string
    The base config URL of the DICOM Store instance
    OrganizationId string
    the IAM organization ID to use for authorization
    CdrServiceAccount DicomStoreConfigCdrServiceAccountArgs
    Details of the CDR service account
    DicomStoreConfigId string
    FhirStore DicomStoreConfigFhirStoreArgs
    the FHIR store configuration
    configUrl String
    The base config URL of the DICOM Store instance
    organizationId String
    the IAM organization ID to use for authorization
    cdrServiceAccount DicomStoreConfigCdrServiceAccount
    Details of the CDR service account
    dicomStoreConfigId String
    fhirStore DicomStoreConfigFhirStore
    the FHIR store configuration
    configUrl string
    The base config URL of the DICOM Store instance
    organizationId string
    the IAM organization ID to use for authorization
    cdrServiceAccount DicomStoreConfigCdrServiceAccount
    Details of the CDR service account
    dicomStoreConfigId string
    fhirStore DicomStoreConfigFhirStore
    the FHIR store configuration
    config_url str
    The base config URL of the DICOM Store instance
    organization_id str
    the IAM organization ID to use for authorization
    cdr_service_account DicomStoreConfigCdrServiceAccountArgs
    Details of the CDR service account
    dicom_store_config_id str
    fhir_store DicomStoreConfigFhirStoreArgs
    the FHIR store configuration
    configUrl String
    The base config URL of the DICOM Store instance
    organizationId String
    the IAM organization ID to use for authorization
    cdrServiceAccount Property Map
    Details of the CDR service account
    dicomStoreConfigId String
    fhirStore Property Map
    the FHIR store configuration

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DicomStoreConfig resource produces the following output properties:

    DataManagementUrl string
    Id string
    The provider-assigned unique ID for this managed resource.
    QidoUrl string
    QIDO API endpoint URL
    StowUrl string
    STOW API endpoint URL
    WadoUrl string
    WADO API endpoint URL
    DataManagementUrl string
    Id string
    The provider-assigned unique ID for this managed resource.
    QidoUrl string
    QIDO API endpoint URL
    StowUrl string
    STOW API endpoint URL
    WadoUrl string
    WADO API endpoint URL
    dataManagementUrl String
    id String
    The provider-assigned unique ID for this managed resource.
    qidoUrl String
    QIDO API endpoint URL
    stowUrl String
    STOW API endpoint URL
    wadoUrl String
    WADO API endpoint URL
    dataManagementUrl string
    id string
    The provider-assigned unique ID for this managed resource.
    qidoUrl string
    QIDO API endpoint URL
    stowUrl string
    STOW API endpoint URL
    wadoUrl string
    WADO API endpoint URL
    data_management_url str
    id str
    The provider-assigned unique ID for this managed resource.
    qido_url str
    QIDO API endpoint URL
    stow_url str
    STOW API endpoint URL
    wado_url str
    WADO API endpoint URL
    dataManagementUrl String
    id String
    The provider-assigned unique ID for this managed resource.
    qidoUrl String
    QIDO API endpoint URL
    stowUrl String
    STOW API endpoint URL
    wadoUrl String
    WADO API endpoint URL

    Look up Existing DicomStoreConfig Resource

    Get an existing DicomStoreConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DicomStoreConfigState, opts?: CustomResourceOptions): DicomStoreConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cdr_service_account: Optional[DicomStoreConfigCdrServiceAccountArgs] = None,
            config_url: Optional[str] = None,
            data_management_url: Optional[str] = None,
            dicom_store_config_id: Optional[str] = None,
            fhir_store: Optional[DicomStoreConfigFhirStoreArgs] = None,
            organization_id: Optional[str] = None,
            qido_url: Optional[str] = None,
            stow_url: Optional[str] = None,
            wado_url: Optional[str] = None) -> DicomStoreConfig
    func GetDicomStoreConfig(ctx *Context, name string, id IDInput, state *DicomStoreConfigState, opts ...ResourceOption) (*DicomStoreConfig, error)
    public static DicomStoreConfig Get(string name, Input<string> id, DicomStoreConfigState? state, CustomResourceOptions? opts = null)
    public static DicomStoreConfig get(String name, Output<String> id, DicomStoreConfigState state, CustomResourceOptions options)
    resources:  _:    type: hsdp:DicomStoreConfig    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CdrServiceAccount DicomStoreConfigCdrServiceAccount
    Details of the CDR service account
    ConfigUrl string
    The base config URL of the DICOM Store instance
    DataManagementUrl string
    DicomStoreConfigId string
    FhirStore DicomStoreConfigFhirStore
    the FHIR store configuration
    OrganizationId string
    the IAM organization ID to use for authorization
    QidoUrl string
    QIDO API endpoint URL
    StowUrl string
    STOW API endpoint URL
    WadoUrl string
    WADO API endpoint URL
    CdrServiceAccount DicomStoreConfigCdrServiceAccountArgs
    Details of the CDR service account
    ConfigUrl string
    The base config URL of the DICOM Store instance
    DataManagementUrl string
    DicomStoreConfigId string
    FhirStore DicomStoreConfigFhirStoreArgs
    the FHIR store configuration
    OrganizationId string
    the IAM organization ID to use for authorization
    QidoUrl string
    QIDO API endpoint URL
    StowUrl string
    STOW API endpoint URL
    WadoUrl string
    WADO API endpoint URL
    cdrServiceAccount DicomStoreConfigCdrServiceAccount
    Details of the CDR service account
    configUrl String
    The base config URL of the DICOM Store instance
    dataManagementUrl String
    dicomStoreConfigId String
    fhirStore DicomStoreConfigFhirStore
    the FHIR store configuration
    organizationId String
    the IAM organization ID to use for authorization
    qidoUrl String
    QIDO API endpoint URL
    stowUrl String
    STOW API endpoint URL
    wadoUrl String
    WADO API endpoint URL
    cdrServiceAccount DicomStoreConfigCdrServiceAccount
    Details of the CDR service account
    configUrl string
    The base config URL of the DICOM Store instance
    dataManagementUrl string
    dicomStoreConfigId string
    fhirStore DicomStoreConfigFhirStore
    the FHIR store configuration
    organizationId string
    the IAM organization ID to use for authorization
    qidoUrl string
    QIDO API endpoint URL
    stowUrl string
    STOW API endpoint URL
    wadoUrl string
    WADO API endpoint URL
    cdr_service_account DicomStoreConfigCdrServiceAccountArgs
    Details of the CDR service account
    config_url str
    The base config URL of the DICOM Store instance
    data_management_url str
    dicom_store_config_id str
    fhir_store DicomStoreConfigFhirStoreArgs
    the FHIR store configuration
    organization_id str
    the IAM organization ID to use for authorization
    qido_url str
    QIDO API endpoint URL
    stow_url str
    STOW API endpoint URL
    wado_url str
    WADO API endpoint URL
    cdrServiceAccount Property Map
    Details of the CDR service account
    configUrl String
    The base config URL of the DICOM Store instance
    dataManagementUrl String
    dicomStoreConfigId String
    fhirStore Property Map
    the FHIR store configuration
    organizationId String
    the IAM organization ID to use for authorization
    qidoUrl String
    QIDO API endpoint URL
    stowUrl String
    STOW API endpoint URL
    wadoUrl String
    WADO API endpoint URL

    Supporting Types

    DicomStoreConfigCdrServiceAccount, DicomStoreConfigCdrServiceAccountArgs

    PrivateKey string
    the service private key
    ServiceId string
    the service id
    Id string
    PrivateKey string
    the service private key
    ServiceId string
    the service id
    Id string
    privateKey String
    the service private key
    serviceId String
    the service id
    id String
    privateKey string
    the service private key
    serviceId string
    the service id
    id string
    private_key str
    the service private key
    service_id str
    the service id
    id str
    privateKey String
    the service private key
    serviceId String
    the service id
    id String

    DicomStoreConfigFhirStore, DicomStoreConfigFhirStoreArgs

    MpiEndpoint string
    the FHIR mpi endpoint
    MpiEndpoint string
    the FHIR mpi endpoint
    mpiEndpoint String
    the FHIR mpi endpoint
    mpiEndpoint string
    the FHIR mpi endpoint
    mpi_endpoint str
    the FHIR mpi endpoint
    mpiEndpoint String
    the FHIR mpi endpoint

    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