Azure Classic

Pulumi Official
Package maintained by Pulumi
v5.10.0 published on Friday, Jun 10, 2022 by Pulumi

getDicomService

Use this data source to access information about an existing Healthcare DICOM Service

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Azure.Healthcare.GetDicomService.InvokeAsync(new Azure.Healthcare.GetDicomServiceArgs
        {
            Name = "example-healthcare_dicom_service",
            WorkspaceId = "example_healthcare_workspace",
        }));
        this.AzurermHealthcareDicomService = example.Apply(example => example.Id);
    }

    [Output("azurermHealthcareDicomService")]
    public Output<string> AzurermHealthcareDicomService { get; set; }
}
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/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: "example_healthcare_workspace",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("azurermHealthcareDicomService", example.Id)
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = Output.of(HealthcareFunctions.getDicomService(GetDicomServiceArgs.builder()
            .name("example-healthcare_dicom_service")
            .workspaceId("example_healthcare_workspace")
            .build()));

        ctx.export("azurermHealthcareDicomService", example.apply(getDicomServiceResult -> getDicomServiceResult.id()));
    }
}
import pulumi
import pulumi_azure as azure

example = azure.healthcare.get_dicom_service(name="example-healthcare_dicom_service",
    workspace_id="example_healthcare_workspace")
pulumi.export("azurermHealthcareDicomService", example.id)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = azure.healthcare.getDicomService({
    name: "example-healthcare_dicom_service",
    workspaceId: "example_healthcare_workspace",
});
export const azurermHealthcareDicomService = example.then(example => example.id);
variables:
  example:
    Fn::Invoke:
      Function: azure:healthcare:getDicomService
      Arguments:
        name: example-healthcare_dicom_service
        workspaceId: example_healthcare_workspace
outputs:
  azurermHealthcareDicomService: ${example.id}

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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azure:healthcare/getDicomService:getDicomService
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string

The name of the Healthcare DICOM Service

WorkspaceId string

The name of the Healthcare Workspace in which the Healthcare DICOM Service exists.

Name string

The name of the Healthcare DICOM Service

WorkspaceId string

The name of the Healthcare Workspace in which the Healthcare DICOM Service exists.

name String

The name of the Healthcare DICOM Service

workspaceId String

The name of the Healthcare Workspace in which the Healthcare DICOM Service exists.

name string

The name of the Healthcare DICOM Service

workspaceId string

The name of the Healthcare Workspace in which the Healthcare DICOM Service exists.

name str

The name of the Healthcare DICOM Service

workspace_id str

The name of the Healthcare Workspace in which the Healthcare DICOM Service exists.

name String

The name of the Healthcare DICOM Service

workspaceId String

The name of the Healthcare Workspace in which the Healthcare DICOM Service exists.

getDicomService Result

The following output properties are available:

Authentications List<GetDicomServiceAuthentication>

The authentication block as defined below.

Id string

The provider-assigned unique ID for this managed resource.

Identities List<GetDicomServiceIdentity>
Location string

The Azure Region where the Healthcare DICOM Service is located.

Name string
PrivateEndpoints List<GetDicomServicePrivateEndpoint>
ServiceUrl string

The url of the Healthcare DICOM Services.

Tags Dictionary<string, string>

A map of tags assigned to the Healthcare DICOM Service.

WorkspaceId string
Authentications []GetDicomServiceAuthentication

The authentication block as defined below.

Id string

The provider-assigned unique ID for this managed resource.

Identities []GetDicomServiceIdentity
Location string

The Azure Region where the Healthcare DICOM Service is located.

Name string
PrivateEndpoints []GetDicomServicePrivateEndpoint
ServiceUrl string

The url of the Healthcare DICOM Services.

Tags map[string]string

A map of tags assigned to the Healthcare DICOM Service.

WorkspaceId string
authentications List<GetDicomServiceAuthentication>

The authentication block as defined below.

id String

The provider-assigned unique ID for this managed resource.

identities List<GetDicomServiceIdentity>
location String

The Azure Region where the Healthcare DICOM Service is located.

name String
privateEndpoints List<GetDicomServicePrivateEndpoint>
serviceUrl String

The url of the Healthcare DICOM Services.

tags Map<String,String>

A map of tags assigned to the Healthcare DICOM Service.

workspaceId String
authentications GetDicomServiceAuthentication[]

The authentication block as defined below.

id string

The provider-assigned unique ID for this managed resource.

identities GetDicomServiceIdentity[]
location string

The Azure Region where the Healthcare DICOM Service is located.

name string
privateEndpoints GetDicomServicePrivateEndpoint[]
serviceUrl string

The url of the Healthcare DICOM Services.

tags {[key: string]: string}

A map of tags assigned to the Healthcare DICOM Service.

workspaceId string
authentications Sequence[GetDicomServiceAuthentication]

The authentication block as defined below.

id str

The provider-assigned unique ID for this managed resource.

identities Sequence[GetDicomServiceIdentity]
location str

The Azure Region where the Healthcare DICOM Service is located.

name str
private_endpoints Sequence[GetDicomServicePrivateEndpoint]
service_url str

The url of the Healthcare DICOM Services.

tags Mapping[str, str]

A map of tags assigned to the Healthcare DICOM Service.

workspace_id str
authentications List<Property Map>

The authentication block as defined below.

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
privateEndpoints List<Property Map>
serviceUrl String

The url of the Healthcare DICOM Services.

tags Map<String>

A map of tags assigned to the Healthcare DICOM Service.

workspaceId 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

Authority string
Audiences []string

The intended audience to receive authentication tokens for the service. The default value is https://dicom.azurehealthcareapis.azure.com

Authority string
audiences List<String>

The intended audience to receive authentication tokens for the service. The default value is https://dicom.azurehealthcareapis.azure.com

authority String
audiences string[]

The intended audience to receive authentication tokens for the service. The default value is https://dicom.azurehealthcareapis.azure.com

authority string
audiences Sequence[str]

The intended audience to receive authentication tokens for the service. The default value is https://dicom.azurehealthcareapis.azure.com

authority str
audiences List<String>

The intended audience to receive authentication tokens for the service. The default value is https://dicom.azurehealthcareapis.azure.com

authority String

GetDicomServiceIdentity

IdentityIds List<string>
PrincipalId string
TenantId string
Type string
IdentityIds []string
PrincipalId string
TenantId string
Type string
identityIds List<String>
principalId String
tenantId String
type String
identityIds string[]
principalId string
tenantId string
type string
identity_ids Sequence[str]
principal_id str
tenant_id str
type str
identityIds List<String>
principalId String
tenantId String
type String

GetDicomServicePrivateEndpoint

Id string

The ID of the Healthcare DICOM Service.

Name string

The name of the Healthcare DICOM Service

Id string

The ID of the Healthcare DICOM Service.

Name string

The name of the Healthcare DICOM Service

id String

The ID of the Healthcare DICOM Service.

name String

The name of the Healthcare DICOM Service

id string

The ID of the Healthcare DICOM Service.

name string

The name of the Healthcare DICOM Service

id str

The ID of the Healthcare DICOM Service.

name str

The name of the Healthcare DICOM Service

id String

The ID of the Healthcare DICOM Service.

name String

The name of the Healthcare DICOM Service

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.