DicomServiceArgs

data class DicomServiceArgs(val cors: Output<DicomServiceCorsArgs>? = null, val dataPartitionsEnabled: Output<Boolean>? = null, val encryptionKeyUrl: Output<String>? = null, val identity: Output<DicomServiceIdentityArgs>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val publicNetworkAccessEnabled: Output<Boolean>? = null, val storage: Output<DicomServiceStorageArgs>? = null, val tags: Output<Map<String, String>>? = null, val workspaceId: Output<String>? = null) : ConvertibleToJava<DicomServiceArgs>

Manages a Healthcare DICOM Service

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const test = new azure.healthcare.Workspace("test", {
name: "tfexworkspace",
resourceGroupName: "tfex-resource_group",
location: "east us",
});
const testDicomService = new azure.healthcare.DicomService("test", {
name: "tfexDicom",
workspaceId: test.id,
location: "east us",
identity: {
type: "SystemAssigned",
},
tags: {
environment: "None",
},
});
import pulumi
import pulumi_azure as azure
test = azure.healthcare.Workspace("test",
name="tfexworkspace",
resource_group_name="tfex-resource_group",
location="east us")
test_dicom_service = azure.healthcare.DicomService("test",
name="tfexDicom",
workspace_id=test.id,
location="east us",
identity={
"type": "SystemAssigned",
},
tags={
"environment": "None",
})
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var test = new Azure.Healthcare.Workspace("test", new()
{
Name = "tfexworkspace",
ResourceGroupName = "tfex-resource_group",
Location = "east us",
});
var testDicomService = new Azure.Healthcare.DicomService("test", new()
{
Name = "tfexDicom",
WorkspaceId = test.Id,
Location = "east us",
Identity = new Azure.Healthcare.Inputs.DicomServiceIdentityArgs
{
Type = "SystemAssigned",
},
Tags =
{
{ "environment", "None" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/healthcare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := healthcare.NewWorkspace(ctx, "test", &healthcare.WorkspaceArgs{
Name: pulumi.String("tfexworkspace"),
ResourceGroupName: pulumi.String("tfex-resource_group"),
Location: pulumi.String("east us"),
})
if err != nil {
return err
}
_, err = healthcare.NewDicomService(ctx, "test", &healthcare.DicomServiceArgs{
Name: pulumi.String("tfexDicom"),
WorkspaceId: test.ID(),
Location: pulumi.String("east us"),
Identity: &healthcare.DicomServiceIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
Tags: pulumi.StringMap{
"environment": pulumi.String("None"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.healthcare.Workspace;
import com.pulumi.azure.healthcare.WorkspaceArgs;
import com.pulumi.azure.healthcare.DicomService;
import com.pulumi.azure.healthcare.DicomServiceArgs;
import com.pulumi.azure.healthcare.inputs.DicomServiceIdentityArgs;
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 test = new Workspace("test", WorkspaceArgs.builder()
.name("tfexworkspace")
.resourceGroupName("tfex-resource_group")
.location("east us")
.build());
var testDicomService = new DicomService("testDicomService", DicomServiceArgs.builder()
.name("tfexDicom")
.workspaceId(test.id())
.location("east us")
.identity(DicomServiceIdentityArgs.builder()
.type("SystemAssigned")
.build())
.tags(Map.of("environment", "None"))
.build());
}
}
resources:
test:
type: azure:healthcare:Workspace
properties:
name: tfexworkspace
resourceGroupName: tfex-resource_group
location: east us
testDicomService:
type: azure:healthcare:DicomService
name: test
properties:
name: tfexDicom
workspaceId: ${test.id}
location: east us
identity:
type: SystemAssigned
tags:
environment: None

Import

Healthcare DICOM Service can be imported using the resourceid, e.g.

$ pulumi import azure:healthcare/dicomService:DicomService example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomServices/service1

Constructors

Link copied to clipboard
constructor(cors: Output<DicomServiceCorsArgs>? = null, dataPartitionsEnabled: Output<Boolean>? = null, encryptionKeyUrl: Output<String>? = null, identity: Output<DicomServiceIdentityArgs>? = null, location: Output<String>? = null, name: Output<String>? = null, publicNetworkAccessEnabled: Output<Boolean>? = null, storage: Output<DicomServiceStorageArgs>? = null, tags: Output<Map<String, String>>? = null, workspaceId: Output<String>? = null)

Properties

Link copied to clipboard
val cors: Output<DicomServiceCorsArgs>? = null

A cors block as defined below.

Link copied to clipboard
val dataPartitionsEnabled: Output<Boolean>? = null

If data partitions are enabled or not. Defaults to false. Changing this forces a new Healthcare DICOM Service to be created.

Link copied to clipboard
val encryptionKeyUrl: Output<String>? = null

The URL of the key to use for encryption as part of the customer-managed key encryption settings. For more details, refer to the Azure Customer-Managed Keys Overview.

Link copied to clipboard
val identity: Output<DicomServiceIdentityArgs>? = null

An identity block as defined below.

Link copied to clipboard
val location: Output<String>? = null

Specifies the Azure Region where the Healthcare DICOM Service should be created. Changing this forces a new Healthcare DICOM Service to be created.

Link copied to clipboard
val name: Output<String>? = null

Specifies the name of the Healthcare DICOM Service. Changing this forces a new Healthcare DICOM Service to be created.

Link copied to clipboard
val publicNetworkAccessEnabled: Output<Boolean>? = null

Whether to enabled public networks when data plane traffic coming from public networks while private endpoint is enabled. Defaults to true.

Link copied to clipboard
val storage: Output<DicomServiceStorageArgs>? = null

A storage block as defined below.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the Healthcare DICOM Service.

Link copied to clipboard
val workspaceId: Output<String>? = null

Specifies the ID of the Healthcare Workspace where the Healthcare DICOM Service should exist. Changing this forces a new Healthcare DICOM Service to be created.

Functions

Link copied to clipboard
open override fun toJava(): DicomServiceArgs