getMedtechService

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

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.healthcare.getMedtechService({
name: "tfexmedtech",
workspaceId: "tfexwks",
});
export const azurermHealthcareMedtechServiceId = example.then(example => example.id);
import pulumi
import pulumi_azure as azure
example = azure.healthcare.get_medtech_service(name="tfexmedtech",
workspace_id="tfexwks")
pulumi.export("azurermHealthcareMedtechServiceId", example.id)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.Healthcare.GetMedtechService.Invoke(new()
{
Name = "tfexmedtech",
WorkspaceId = "tfexwks",
});
return new Dictionary<string, object?>
{
["azurermHealthcareMedtechServiceId"] = example.Apply(getMedtechServiceResult => getMedtechServiceResult.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.LookupMedtechService(ctx, &healthcare.LookupMedtechServiceArgs{
Name: "tfexmedtech",
WorkspaceId: "tfexwks",
}, nil)
if err != nil {
return err
}
ctx.Export("azurermHealthcareMedtechServiceId", example.Id)
return nil
})
}
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.GetMedtechServiceArgs;
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.getMedtechService(GetMedtechServiceArgs.builder()
.name("tfexmedtech")
.workspaceId("tfexwks")
.build());
ctx.export("azurermHealthcareMedtechServiceId", example.id());
}
}
variables:
example:
fn::invoke:
function: azure:healthcare:getMedtechService
arguments:
name: tfexmedtech
workspaceId: tfexwks
outputs:
azurermHealthcareMedtechServiceId: ${example.id}

API Providers

This data source uses the following Azure API Providers:

  • Microsoft.HealthcareApis: 2022-12-01

Return

A collection of values returned by getMedtechService.

Parameters

argument

A collection of arguments for invoking getMedtechService.


suspend fun getMedtechService(name: String, workspaceId: String): GetMedtechServiceResult

Return

A collection of values returned by getMedtechService.

Parameters

name

The name of the Healthcare Med Tech Service.

workspaceId

The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists.

See also


Return

A collection of values returned by getMedtechService.

Parameters

argument

Builder for com.pulumi.azure.healthcare.kotlin.inputs.GetMedtechServicePlainArgs.

See also