We recommend using Azure Native.
Azure v6.28.0 published on Friday, Oct 3, 2025 by Pulumi
azure.healthcare.getDicomService
Start a Neo task
Explain and create an azure.healthcare.getDicomService resource
Use this data source to access information about an existing Healthcare DICOM Service
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.healthcare.getDicomService({
name: "example-healthcare_dicom_service",
workspaceId: exampleAzurermHealthcareWorkspace.id,
});
export const azurermHealthcareDicomService = example.then(example => example.id);
import pulumi
import pulumi_azure as azure
example = azure.healthcare.get_dicom_service(name="example-healthcare_dicom_service",
workspace_id=example_azurerm_healthcare_workspace["id"])
pulumi.export("azurermHealthcareDicomService", example.id)
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 {
example, err := healthcare.LookupDicomService(ctx, &healthcare.LookupDicomServiceArgs{
Name: "example-healthcare_dicom_service",
WorkspaceId: exampleAzurermHealthcareWorkspace.Id,
}, nil)
if err != nil {
return err
}
ctx.Export("azurermHealthcareDicomService", example.Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.Healthcare.GetDicomService.Invoke(new()
{
Name = "example-healthcare_dicom_service",
WorkspaceId = exampleAzurermHealthcareWorkspace.Id,
});
return new Dictionary<string, object?>
{
["azurermHealthcareDicomService"] = example.Apply(getDicomServiceResult => getDicomServiceResult.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.healthcare.HealthcareFunctions;
import com.pulumi.azure.healthcare.inputs.GetDicomServiceArgs;
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 example = HealthcareFunctions.getDicomService(GetDicomServiceArgs.builder()
.name("example-healthcare_dicom_service")
.workspaceId(exampleAzurermHealthcareWorkspace.id())
.build());
ctx.export("azurermHealthcareDicomService", example.id());
}
}
variables:
example:
fn::invoke:
function: azure:healthcare:getDicomService
arguments:
name: example-healthcare_dicom_service
workspaceId: ${exampleAzurermHealthcareWorkspace.id}
outputs:
azurermHealthcareDicomService: ${example.id}
API Providers
This data source uses the following Azure API Providers:
Microsoft.HealthcareApis- 2024-03-31
Using getDicomService
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 getDicomService(args: GetDicomServiceArgs, opts?: InvokeOptions): Promise<GetDicomServiceResult>
function getDicomServiceOutput(args: GetDicomServiceOutputArgs, opts?: InvokeOptions): Output<GetDicomServiceResult>def get_dicom_service(name: Optional[str] = None,
workspace_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDicomServiceResult
def get_dicom_service_output(name: Optional[pulumi.Input[str]] = None,
workspace_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDicomServiceResult]func LookupDicomService(ctx *Context, args *LookupDicomServiceArgs, opts ...InvokeOption) (*LookupDicomServiceResult, error)
func LookupDicomServiceOutput(ctx *Context, args *LookupDicomServiceOutputArgs, opts ...InvokeOption) LookupDicomServiceResultOutput> Note: This function is named LookupDicomService in the Go SDK.
public static class GetDicomService
{
public static Task<GetDicomServiceResult> InvokeAsync(GetDicomServiceArgs args, InvokeOptions? opts = null)
public static Output<GetDicomServiceResult> Invoke(GetDicomServiceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDicomServiceResult> getDicomService(GetDicomServiceArgs args, InvokeOptions options)
public static Output<GetDicomServiceResult> getDicomService(GetDicomServiceArgs args, InvokeOptions options)
fn::invoke:
function: azure:healthcare/getDicomService:getDicomService
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of the Healthcare DICOM Service
- Workspace
Id string - The ID of the Healthcare Workspace in which the Healthcare DICOM Service exists.
- Name string
- The name of the Healthcare DICOM Service
- Workspace
Id string - The ID of the Healthcare Workspace in which the Healthcare DICOM Service exists.
- name String
- The name of the Healthcare DICOM Service
- workspace
Id String - The ID of the Healthcare Workspace in which the Healthcare DICOM Service exists.
- name string
- The name of the Healthcare DICOM Service
- workspace
Id string - The ID of the Healthcare Workspace in which the Healthcare DICOM Service exists.
- name str
- The name of the Healthcare DICOM Service
- workspace_
id str - The ID of the Healthcare Workspace in which the Healthcare DICOM Service exists.
- name String
- The name of the Healthcare DICOM Service
- workspace
Id String - The ID of the Healthcare Workspace in which the Healthcare DICOM Service exists.
getDicomService Result
The following output properties are available:
- Authentications
List<Get
Dicom Service Authentication> - The
authenticationblock as defined below. - Cors
List<Get
Dicom Service Cor> - The
corsblock as defined below. - Data
Partitions boolEnabled - If data partitions are enabled or not.
- Encryption
Key stringUrl - The URL of the key to use for encryption as part of the customer-managed key encryption settings.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
List<Get
Dicom Service Identity> - Location string
- The Azure Region where the Healthcare DICOM Service is located.
- Name string
- Private
Endpoints List<GetDicom Service Private Endpoint> - Service
Url string - The url of the Healthcare DICOM Services.
- Storages
List<Get
Dicom Service Storage> - The
storageblock as defined below. - Dictionary<string, string>
- A map of tags assigned to the Healthcare DICOM Service.
- Workspace
Id string
- Authentications
[]Get
Dicom Service Authentication - The
authenticationblock as defined below. - Cors
[]Get
Dicom Service Cor - The
corsblock as defined below. - Data
Partitions boolEnabled - If data partitions are enabled or not.
- Encryption
Key stringUrl - The URL of the key to use for encryption as part of the customer-managed key encryption settings.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
[]Get
Dicom Service Identity - Location string
- The Azure Region where the Healthcare DICOM Service is located.
- Name string
- Private
Endpoints []GetDicom Service Private Endpoint - Service
Url string - The url of the Healthcare DICOM Services.
- Storages
[]Get
Dicom Service Storage - The
storageblock as defined below. - map[string]string
- A map of tags assigned to the Healthcare DICOM Service.
- Workspace
Id string
- authentications
List<Get
Dicom Service Authentication> - The
authenticationblock as defined below. - cors
List<Get
Dicom Service Cor> - The
corsblock as defined below. - data
Partitions BooleanEnabled - If data partitions are enabled or not.
- encryption
Key StringUrl - The URL of the key to use for encryption as part of the customer-managed key encryption settings.
- id String
- The provider-assigned unique ID for this managed resource.
- identities
List<Get
Dicom Service Identity> - location String
- The Azure Region where the Healthcare DICOM Service is located.
- name String
- private
Endpoints List<GetDicom Service Private Endpoint> - service
Url String - The url of the Healthcare DICOM Services.
- storages
List<Get
Dicom Service Storage> - The
storageblock as defined below. - Map<String,String>
- A map of tags assigned to the Healthcare DICOM Service.
- workspace
Id String
- authentications
Get
Dicom Service Authentication[] - The
authenticationblock as defined below. - cors
Get
Dicom Service Cor[] - The
corsblock as defined below. - data
Partitions booleanEnabled - If data partitions are enabled or not.
- encryption
Key stringUrl - The URL of the key to use for encryption as part of the customer-managed key encryption settings.
- id string
- The provider-assigned unique ID for this managed resource.
- identities
Get
Dicom Service Identity[] - location string
- The Azure Region where the Healthcare DICOM Service is located.
- name string
- private
Endpoints GetDicom Service Private Endpoint[] - service
Url string - The url of the Healthcare DICOM Services.
- storages
Get
Dicom Service Storage[] - The
storageblock as defined below. - {[key: string]: string}
- A map of tags assigned to the Healthcare DICOM Service.
- workspace
Id string
- authentications
Sequence[Get
Dicom Service Authentication] - The
authenticationblock as defined below. - cors
Sequence[Get
Dicom Service Cor] - The
corsblock as defined below. - data_
partitions_ boolenabled - If data partitions are enabled or not.
- encryption_
key_ strurl - The URL of the key to use for encryption as part of the customer-managed key encryption settings.
- id str
- The provider-assigned unique ID for this managed resource.
- identities
Sequence[Get
Dicom Service Identity] - location str
- The Azure Region where the Healthcare DICOM Service is located.
- name str
- private_
endpoints Sequence[GetDicom Service Private Endpoint] - service_
url str - The url of the Healthcare DICOM Services.
- storages
Sequence[Get
Dicom Service Storage] - The
storageblock as defined below. - Mapping[str, str]
- A map of tags assigned to the Healthcare DICOM Service.
- workspace_
id str
- authentications List<Property Map>
- The
authenticationblock as defined below. - cors List<Property Map>
- The
corsblock as defined below. - data
Partitions BooleanEnabled - If data partitions are enabled or not.
- encryption
Key StringUrl - The URL of the key to use for encryption as part of the customer-managed key encryption settings.
- id String
- The provider-assigned unique ID for this managed resource.
- identities List<Property Map>
- location String
- The Azure Region where the Healthcare DICOM Service is located.
- name String
- private
Endpoints List<Property Map> - service
Url String - The url of the Healthcare DICOM Services.
- storages List<Property Map>
- The
storageblock as defined below. - Map<String>
- A map of tags assigned to the Healthcare DICOM Service.
- workspace
Id String
Supporting Types
GetDicomServiceAuthentication
- Audiences List<string>
- The intended audience to receive authentication tokens for the service. The default value is https://dicom.azurehealthcareapis.azure.com
- string
- Audiences []string
- The intended audience to receive authentication tokens for the service. The default value is https://dicom.azurehealthcareapis.azure.com
- string
- audiences List<String>
- The intended audience to receive authentication tokens for the service. The default value is https://dicom.azurehealthcareapis.azure.com
- String
- audiences string[]
- The intended audience to receive authentication tokens for the service. The default value is https://dicom.azurehealthcareapis.azure.com
- string
- audiences Sequence[str]
- The intended audience to receive authentication tokens for the service. The default value is https://dicom.azurehealthcareapis.azure.com
- str
- audiences List<String>
- The intended audience to receive authentication tokens for the service. The default value is https://dicom.azurehealthcareapis.azure.com
- String
GetDicomServiceCor
- Allow
Credentials bool - Whether to allow credentials in CORS.
- Allowed
Headers List<string> - A list of allowed headers for CORS.
- Allowed
Methods List<string> - A list of allowed methods for CORS.
- Allowed
Origins List<string> - A list of allowed origins for CORS.
- Max
Age intIn Seconds - The maximum age in seconds for the CORS configuration.
- Allow
Credentials bool - Whether to allow credentials in CORS.
- Allowed
Headers []string - A list of allowed headers for CORS.
- Allowed
Methods []string - A list of allowed methods for CORS.
- Allowed
Origins []string - A list of allowed origins for CORS.
- Max
Age intIn Seconds - The maximum age in seconds for the CORS configuration.
- allow
Credentials Boolean - Whether to allow credentials in CORS.
- allowed
Headers List<String> - A list of allowed headers for CORS.
- allowed
Methods List<String> - A list of allowed methods for CORS.
- allowed
Origins List<String> - A list of allowed origins for CORS.
- max
Age IntegerIn Seconds - The maximum age in seconds for the CORS configuration.
- allow
Credentials boolean - Whether to allow credentials in CORS.
- allowed
Headers string[] - A list of allowed headers for CORS.
- allowed
Methods string[] - A list of allowed methods for CORS.
- allowed
Origins string[] - A list of allowed origins for CORS.
- max
Age numberIn Seconds - The maximum age in seconds for the CORS configuration.
- allow_
credentials bool - Whether to allow credentials in CORS.
- allowed_
headers Sequence[str] - A list of allowed headers for CORS.
- allowed_
methods Sequence[str] - A list of allowed methods for CORS.
- allowed_
origins Sequence[str] - A list of allowed origins for CORS.
- max_
age_ intin_ seconds - The maximum age in seconds for the CORS configuration.
- allow
Credentials Boolean - Whether to allow credentials in CORS.
- allowed
Headers List<String> - A list of allowed headers for CORS.
- allowed
Methods List<String> - A list of allowed methods for CORS.
- allowed
Origins List<String> - A list of allowed origins for CORS.
- max
Age NumberIn Seconds - The maximum age in seconds for the CORS configuration.
GetDicomServiceIdentity
- Identity
Ids List<string> - Principal
Id string - Tenant
Id string - Type string
- Identity
Ids []string - Principal
Id string - Tenant
Id string - Type string
- identity
Ids List<String> - principal
Id String - tenant
Id String - type String
- identity
Ids string[] - principal
Id string - tenant
Id string - type string
- identity_
ids Sequence[str] - principal_
id str - tenant_
id str - type str
- identity
Ids List<String> - principal
Id String - tenant
Id String - type String
GetDicomServicePrivateEndpoint
GetDicomServiceStorage
- File
System stringName - The filesystem name of connected storage account.
- Storage
Account stringId - The resource ID of connected storage account.
- File
System stringName - The filesystem name of connected storage account.
- Storage
Account stringId - The resource ID of connected storage account.
- file
System StringName - The filesystem name of connected storage account.
- storage
Account StringId - The resource ID of connected storage account.
- file
System stringName - The filesystem name of connected storage account.
- storage
Account stringId - The resource ID of connected storage account.
- file_
system_ strname - The filesystem name of connected storage account.
- storage_
account_ strid - The resource ID of connected storage account.
- file
System StringName - The filesystem name of connected storage account.
- storage
Account StringId - The resource ID of connected storage account.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
