We recommend using Azure Native.
Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi
azure.healthcare.getDicomService
Explore with Pulumi AI
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.applyValue(getDicomServiceResult -> getDicomServiceResult.id()));
}
}
variables:
example:
fn::invoke:
Function: azure:healthcare:getDicomService
Arguments:
name: example-healthcare_dicom_service
workspaceId: ${exampleAzurermHealthcareWorkspace.id}
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
- 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
authentication
block as defined below. - 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.
- Dictionary<string, string>
- A map of tags assigned to the Healthcare DICOM Service.
- Workspace
Id string
- Authentications
[]Get
Dicom Service Authentication - The
authentication
block as defined below. - 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.
- map[string]string
- A map of tags assigned to the Healthcare DICOM Service.
- Workspace
Id string
- authentications
List<Get
Dicom Service Authentication> - The
authentication
block as defined below. - 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.
- Map<String,String>
- A map of tags assigned to the Healthcare DICOM Service.
- workspace
Id String
- authentications
Get
Dicom Service Authentication[] - The
authentication
block as defined below. - 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.
- {[key: string]: string}
- A map of tags assigned to the Healthcare DICOM Service.
- workspace
Id string
- authentications
Sequence[Get
Dicom Service Authentication] - The
authentication
block as defined below. - 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.
- 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
- private
Endpoints List<Property Map> - service
Url String - The url of the Healthcare DICOM Services.
- 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
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
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.