We recommend using Azure Native.
Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi
azure.healthcare.getMedtechService
Explore with Pulumi AI
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.applyValue(getMedtechServiceResult -> getMedtechServiceResult.id()));
    }
}
variables:
  example:
    fn::invoke:
      function: azure:healthcare:getMedtechService
      arguments:
        name: tfexmedtech
        workspaceId: tfexwks
outputs:
  azurermHealthcareMedtechServiceId: ${example.id}
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.
- WorkspaceId 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.
- WorkspaceId 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.
- workspaceId 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.
- workspaceId 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.
- workspaceId String
- The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists.
getMedtechService Result
The following output properties are available:
- DeviceMapping stringJson 
- The Device Mappings of the Med Tech Service.
- EventhubConsumer stringGroup Name 
- The Consumer Group of the Event Hub of the Healthcare Med Tech Service.
- EventhubName string
- The name of the Event Hub of the Healthcare Med Tech Service.
- EventhubNamespace 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<GetMedtech Service Identity> 
- The identityblock as defined below.
- Name string
- WorkspaceId string
- DeviceMapping stringJson 
- The Device Mappings of the Med Tech Service.
- EventhubConsumer stringGroup Name 
- The Consumer Group of the Event Hub of the Healthcare Med Tech Service.
- EventhubName string
- The name of the Event Hub of the Healthcare Med Tech Service.
- EventhubNamespace 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
[]GetMedtech Service Identity 
- The identityblock as defined below.
- Name string
- WorkspaceId string
- deviceMapping StringJson 
- The Device Mappings of the Med Tech Service.
- eventhubConsumer StringGroup Name 
- The Consumer Group of the Event Hub of the Healthcare Med Tech Service.
- eventhubName String
- The name of the Event Hub of the Healthcare Med Tech Service.
- eventhubNamespace 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<GetMedtech Service Identity> 
- The identityblock as defined below.
- name String
- workspaceId String
- deviceMapping stringJson 
- The Device Mappings of the Med Tech Service.
- eventhubConsumer stringGroup Name 
- The Consumer Group of the Event Hub of the Healthcare Med Tech Service.
- eventhubName string
- The name of the Event Hub of the Healthcare Med Tech Service.
- eventhubNamespace 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
GetMedtech Service Identity[] 
- The identityblock as defined below.
- name string
- workspaceId 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[GetMedtech Service Identity] 
- The identityblock as defined below.
- name str
- workspace_id str
- deviceMapping StringJson 
- The Device Mappings of the Med Tech Service.
- eventhubConsumer StringGroup Name 
- The Consumer Group of the Event Hub of the Healthcare Med Tech Service.
- eventhubName String
- The name of the Event Hub of the Healthcare Med Tech Service.
- eventhubNamespace 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
- workspaceId String
Supporting Types
GetMedtechServiceIdentity   
- IdentityIds List<string>
- PrincipalId string
- The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- TenantId 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.
- IdentityIds []string
- PrincipalId string
- The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- TenantId 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.
- identityIds List<String>
- principalId String
- The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- tenantId 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.
- identityIds string[]
- principalId string
- The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- tenantId 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.
- identityIds List<String>
- principalId String
- The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
- tenantId 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.