We recommend using Azure Native.
Azure v6.28.0 published on Friday, Oct 3, 2025 by Pulumi
azure.healthcare.getMedtechService
Start a Neo task
Explain and create an azure.healthcare.getMedtechService resource
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)
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
})
}
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 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
Using getMedtechService
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 getMedtechService(args: GetMedtechServiceArgs, opts?: InvokeOptions): Promise<GetMedtechServiceResult>
function getMedtechServiceOutput(args: GetMedtechServiceOutputArgs, opts?: InvokeOptions): Output<GetMedtechServiceResult>def get_medtech_service(name: Optional[str] = None,
workspace_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMedtechServiceResult
def get_medtech_service_output(name: Optional[pulumi.Input[str]] = None,
workspace_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMedtechServiceResult]func LookupMedtechService(ctx *Context, args *LookupMedtechServiceArgs, opts ...InvokeOption) (*LookupMedtechServiceResult, error)
func LookupMedtechServiceOutput(ctx *Context, args *LookupMedtechServiceOutputArgs, opts ...InvokeOption) LookupMedtechServiceResultOutput> Note: This function is named LookupMedtechService in the Go SDK.
public static class GetMedtechService
{
public static Task<GetMedtechServiceResult> InvokeAsync(GetMedtechServiceArgs args, InvokeOptions? opts = null)
public static Output<GetMedtechServiceResult> Invoke(GetMedtechServiceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMedtechServiceResult> getMedtechService(GetMedtechServiceArgs args, InvokeOptions options)
public static Output<GetMedtechServiceResult> getMedtechService(GetMedtechServiceArgs args, InvokeOptions options)
fn::invoke:
function: azure:healthcare/getMedtechService:getMedtechService
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of the Healthcare Med Tech Service.
- Workspace
Id string - The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists.
- Name string
- The name of the Healthcare Med Tech Service.
- Workspace
Id string - The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists.
- name String
- The name of the Healthcare Med Tech Service.
- workspace
Id String - The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists.
- name string
- The name of the Healthcare Med Tech Service.
- workspace
Id string - The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists.
- name str
- The name of the Healthcare Med Tech Service.
- workspace_
id str - The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists.
- name String
- The name of the Healthcare Med Tech Service.
- workspace
Id String - The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists.
getMedtechService Result
The following output properties are available:
- Device
Mapping stringJson - The Device Mappings of the Med Tech Service.
- Eventhub
Consumer stringGroup Name - The Consumer Group of the Event Hub of the Healthcare Med Tech Service.
- Eventhub
Name string - The name of the Event Hub of the Healthcare Med Tech Service.
- Eventhub
Namespace stringName - The namespace name of the Event Hub of the Healthcare Med Tech Service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
List<Get
Medtech Service Identity> - The
identityblock as defined below. - Name string
- Workspace
Id string
- Device
Mapping stringJson - The Device Mappings of the Med Tech Service.
- Eventhub
Consumer stringGroup Name - The Consumer Group of the Event Hub of the Healthcare Med Tech Service.
- Eventhub
Name string - The name of the Event Hub of the Healthcare Med Tech Service.
- Eventhub
Namespace stringName - The namespace name of the Event Hub of the Healthcare Med Tech Service.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
[]Get
Medtech Service Identity - The
identityblock as defined below. - Name string
- Workspace
Id string
- device
Mapping StringJson - The Device Mappings of the Med Tech Service.
- eventhub
Consumer StringGroup Name - The Consumer Group of the Event Hub of the Healthcare Med Tech Service.
- eventhub
Name String - The name of the Event Hub of the Healthcare Med Tech Service.
- eventhub
Namespace StringName - The namespace name of the Event Hub of the Healthcare Med Tech Service.
- id String
- The provider-assigned unique ID for this managed resource.
- identities
List<Get
Medtech Service Identity> - The
identityblock as defined below. - name String
- workspace
Id String
- device
Mapping stringJson - The Device Mappings of the Med Tech Service.
- eventhub
Consumer stringGroup Name - The Consumer Group of the Event Hub of the Healthcare Med Tech Service.
- eventhub
Name string - The name of the Event Hub of the Healthcare Med Tech Service.
- eventhub
Namespace stringName - The namespace name of the Event Hub of the Healthcare Med Tech Service.
- id string
- The provider-assigned unique ID for this managed resource.
- identities
Get
Medtech Service Identity[] - The
identityblock as defined below. - name string
- workspace
Id string
- device_
mapping_ strjson - The Device Mappings of the Med Tech Service.
- eventhub_
consumer_ strgroup_ name - The Consumer Group of the Event Hub of the Healthcare Med Tech Service.
- eventhub_
name str - The name of the Event Hub of the Healthcare Med Tech Service.
- eventhub_
namespace_ strname - The namespace name of the Event Hub of the Healthcare Med Tech Service.
- id str
- The provider-assigned unique ID for this managed resource.
- identities
Sequence[Get
Medtech Service Identity] - The
identityblock as defined below. - name str
- workspace_
id str
- device
Mapping StringJson - The Device Mappings of the Med Tech Service.
- eventhub
Consumer StringGroup Name - The Consumer Group of the Event Hub of the Healthcare Med Tech Service.
- eventhub
Name String - The name of the Event Hub of the Healthcare Med Tech Service.
- eventhub
Namespace StringName - The namespace name of the Event Hub of the Healthcare Med Tech Service.
- id String
- The provider-assigned unique ID for this managed resource.
- identities List<Property Map>
- The
identityblock as defined below. - name String
- workspace
Id String
Supporting Types
GetMedtechServiceIdentity
- Identity
Ids List<string> - Principal
Id string - The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- Tenant
Id string - The Tenant ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- Type string
- The type of identity used for the Healthcare Med Tech Service. Possible values are
SystemAssigned.
- Identity
Ids []string - Principal
Id string - The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- Tenant
Id string - The Tenant ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- Type string
- The type of identity used for the Healthcare Med Tech Service. Possible values are
SystemAssigned.
- identity
Ids List<String> - principal
Id String - The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- tenant
Id String - The Tenant ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- type String
- The type of identity used for the Healthcare Med Tech Service. Possible values are
SystemAssigned.
- identity
Ids string[] - principal
Id string - The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- tenant
Id string - The Tenant ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- type string
- The type of identity used for the Healthcare Med Tech Service. Possible values are
SystemAssigned.
- identity_
ids Sequence[str] - principal_
id str - The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- tenant_
id str - The Tenant ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- type str
- The type of identity used for the Healthcare Med Tech Service. Possible values are
SystemAssigned.
- identity
Ids List<String> - principal
Id String - The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- tenant
Id String - The Tenant ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- type String
- The type of identity used for the Healthcare Med Tech Service. Possible values are
SystemAssigned.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
