hsdp.DicomStoreConfig
Explore with Pulumi AI
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:
- Config
Url string - The base config URL of the DICOM Store instance
- Organization
Id string - the IAM organization ID to use for authorization
- Cdr
Service DicomAccount Store Config Cdr Service Account - Details of the CDR service account
- Dicom
Store stringConfig Id - Fhir
Store DicomStore Config Fhir Store - the FHIR store configuration
- Config
Url string - The base config URL of the DICOM Store instance
- Organization
Id string - the IAM organization ID to use for authorization
- Cdr
Service DicomAccount Store Config Cdr Service Account Args - Details of the CDR service account
- Dicom
Store stringConfig Id - Fhir
Store DicomStore Config Fhir Store Args - the FHIR store configuration
- config
Url String - The base config URL of the DICOM Store instance
- organization
Id String - the IAM organization ID to use for authorization
- cdr
Service DicomAccount Store Config Cdr Service Account - Details of the CDR service account
- dicom
Store StringConfig Id - fhir
Store DicomStore Config Fhir Store - the FHIR store configuration
- config
Url string - The base config URL of the DICOM Store instance
- organization
Id string - the IAM organization ID to use for authorization
- cdr
Service DicomAccount Store Config Cdr Service Account - Details of the CDR service account
- dicom
Store stringConfig Id - fhir
Store DicomStore Config Fhir Store - 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_ Dicomaccount Store Config Cdr Service Account Args - Details of the CDR service account
- dicom_
store_ strconfig_ id - fhir_
store DicomStore Config Fhir Store Args - the FHIR store configuration
- config
Url String - The base config URL of the DICOM Store instance
- organization
Id String - the IAM organization ID to use for authorization
- cdr
Service Property MapAccount - Details of the CDR service account
- dicom
Store StringConfig Id - fhir
Store 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:
- Data
Management stringUrl - Id string
- The provider-assigned unique ID for this managed resource.
- Qido
Url string - QIDO API endpoint URL
- Stow
Url string - STOW API endpoint URL
- Wado
Url string - WADO API endpoint URL
- Data
Management stringUrl - Id string
- The provider-assigned unique ID for this managed resource.
- Qido
Url string - QIDO API endpoint URL
- Stow
Url string - STOW API endpoint URL
- Wado
Url string - WADO API endpoint URL
- data
Management StringUrl - id String
- The provider-assigned unique ID for this managed resource.
- qido
Url String - QIDO API endpoint URL
- stow
Url String - STOW API endpoint URL
- wado
Url String - WADO API endpoint URL
- data
Management stringUrl - id string
- The provider-assigned unique ID for this managed resource.
- qido
Url string - QIDO API endpoint URL
- stow
Url string - STOW API endpoint URL
- wado
Url string - WADO API endpoint URL
- data_
management_ strurl - 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
- data
Management StringUrl - id String
- The provider-assigned unique ID for this managed resource.
- qido
Url String - QIDO API endpoint URL
- stow
Url String - STOW API endpoint URL
- wado
Url 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.
- Cdr
Service DicomAccount Store Config Cdr Service Account - Details of the CDR service account
- Config
Url string - The base config URL of the DICOM Store instance
- Data
Management stringUrl - Dicom
Store stringConfig Id - Fhir
Store DicomStore Config Fhir Store - the FHIR store configuration
- Organization
Id string - the IAM organization ID to use for authorization
- Qido
Url string - QIDO API endpoint URL
- Stow
Url string - STOW API endpoint URL
- Wado
Url string - WADO API endpoint URL
- Cdr
Service DicomAccount Store Config Cdr Service Account Args - Details of the CDR service account
- Config
Url string - The base config URL of the DICOM Store instance
- Data
Management stringUrl - Dicom
Store stringConfig Id - Fhir
Store DicomStore Config Fhir Store Args - the FHIR store configuration
- Organization
Id string - the IAM organization ID to use for authorization
- Qido
Url string - QIDO API endpoint URL
- Stow
Url string - STOW API endpoint URL
- Wado
Url string - WADO API endpoint URL
- cdr
Service DicomAccount Store Config Cdr Service Account - Details of the CDR service account
- config
Url String - The base config URL of the DICOM Store instance
- data
Management StringUrl - dicom
Store StringConfig Id - fhir
Store DicomStore Config Fhir Store - the FHIR store configuration
- organization
Id String - the IAM organization ID to use for authorization
- qido
Url String - QIDO API endpoint URL
- stow
Url String - STOW API endpoint URL
- wado
Url String - WADO API endpoint URL
- cdr
Service DicomAccount Store Config Cdr Service Account - Details of the CDR service account
- config
Url string - The base config URL of the DICOM Store instance
- data
Management stringUrl - dicom
Store stringConfig Id - fhir
Store DicomStore Config Fhir Store - the FHIR store configuration
- organization
Id string - the IAM organization ID to use for authorization
- qido
Url string - QIDO API endpoint URL
- stow
Url string - STOW API endpoint URL
- wado
Url string - WADO API endpoint URL
- cdr_
service_ Dicomaccount Store Config Cdr Service Account Args - Details of the CDR service account
- config_
url str - The base config URL of the DICOM Store instance
- data_
management_ strurl - dicom_
store_ strconfig_ id - fhir_
store DicomStore Config Fhir Store Args - 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
- cdr
Service Property MapAccount - Details of the CDR service account
- config
Url String - The base config URL of the DICOM Store instance
- data
Management StringUrl - dicom
Store StringConfig Id - fhir
Store Property Map - the FHIR store configuration
- organization
Id String - the IAM organization ID to use for authorization
- qido
Url String - QIDO API endpoint URL
- stow
Url String - STOW API endpoint URL
- wado
Url String - WADO API endpoint URL
Supporting Types
DicomStoreConfigCdrServiceAccount, DicomStoreConfigCdrServiceAccountArgs
- Private
Key string - the service private key
- Service
Id string - the service id
- Id string
- Private
Key string - the service private key
- Service
Id string - the service id
- Id string
- private
Key String - the service private key
- service
Id String - the service id
- id String
- private
Key string - the service private key
- service
Id string - the service id
- id string
- private_
key str - the service private key
- service_
id str - the service id
- id str
- private
Key String - the service private key
- service
Id String - the service id
- id String
DicomStoreConfigFhirStore, DicomStoreConfigFhirStoreArgs
- Mpi
Endpoint string - the FHIR mpi endpoint
- Mpi
Endpoint string - the FHIR mpi endpoint
- mpi
Endpoint String - the FHIR mpi endpoint
- mpi
Endpoint string - the FHIR mpi endpoint
- mpi_
endpoint str - the FHIR mpi endpoint
- mpi
Endpoint 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.