1. Packages
  2. Azure Classic
  3. API Docs
  4. healthcare
  5. getMedtechService

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.healthcare.getMedtechService

Explore with Pulumi AI

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

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);
Copy
import pulumi
import pulumi_azure as azure

example = azure.healthcare.get_medtech_service(name="tfexmedtech",
    workspace_id="tfexwks")
pulumi.export("azurermHealthcareMedtechServiceId", example.id)
Copy
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
	})
}
Copy
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),
    };
});
Copy
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()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: azure:healthcare:getMedtechService
      arguments:
        name: tfexmedtech
        workspaceId: tfexwks
outputs:
  azurermHealthcareMedtechServiceId: ${example.id}
Copy

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>
Copy
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]
Copy
func LookupMedtechService(ctx *Context, args *LookupMedtechServiceArgs, opts ...InvokeOption) (*LookupMedtechServiceResult, error)
func LookupMedtechServiceOutput(ctx *Context, args *LookupMedtechServiceOutputArgs, opts ...InvokeOption) LookupMedtechServiceResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetMedtechServiceResult> getMedtechService(GetMedtechServiceArgs args, InvokeOptions options)
public static Output<GetMedtechServiceResult> getMedtechService(GetMedtechServiceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure:healthcare/getMedtechService:getMedtechService
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of the Healthcare Med Tech Service.
WorkspaceId This property is required. string
The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists.
Name This property is required. string
The name of the Healthcare Med Tech Service.
WorkspaceId This property is required. string
The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists.
name This property is required. String
The name of the Healthcare Med Tech Service.
workspaceId This property is required. String
The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists.
name This property is required. string
The name of the Healthcare Med Tech Service.
workspaceId This property is required. string
The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists.
name This property is required. str
The name of the Healthcare Med Tech Service.
workspace_id This property is required. str
The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists.
name This property is required. String
The name of the Healthcare Med Tech Service.
workspaceId This property is required. String
The id of the Healthcare Workspace in which the Healthcare Med Tech Service exists.

getMedtechService Result

The following output properties are available:

DeviceMappingJson string
The Device Mappings of the Med Tech Service.
EventhubConsumerGroupName string
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.
EventhubNamespaceName string
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<GetMedtechServiceIdentity>
The identity block as defined below.
Name string
WorkspaceId string
DeviceMappingJson string
The Device Mappings of the Med Tech Service.
EventhubConsumerGroupName string
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.
EventhubNamespaceName string
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 []GetMedtechServiceIdentity
The identity block as defined below.
Name string
WorkspaceId string
deviceMappingJson String
The Device Mappings of the Med Tech Service.
eventhubConsumerGroupName String
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.
eventhubNamespaceName String
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<GetMedtechServiceIdentity>
The identity block as defined below.
name String
workspaceId String
deviceMappingJson string
The Device Mappings of the Med Tech Service.
eventhubConsumerGroupName string
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.
eventhubNamespaceName string
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 GetMedtechServiceIdentity[]
The identity block as defined below.
name string
workspaceId string
device_mapping_json str
The Device Mappings of the Med Tech Service.
eventhub_consumer_group_name str
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_name str
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[GetMedtechServiceIdentity]
The identity block as defined below.
name str
workspace_id str
deviceMappingJson String
The Device Mappings of the Med Tech Service.
eventhubConsumerGroupName String
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.
eventhubNamespaceName String
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 identity block as defined below.
name String
workspaceId String

Supporting Types

GetMedtechServiceIdentity

IdentityIds This property is required. List<string>
PrincipalId This property is required. string
The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
TenantId This property is required. string
The Tenant ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
Type This property is required. string
The type of identity used for the Healthcare Med Tech Service. Possible values are SystemAssigned.
IdentityIds This property is required. []string
PrincipalId This property is required. string
The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
TenantId This property is required. string
The Tenant ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
Type This property is required. string
The type of identity used for the Healthcare Med Tech Service. Possible values are SystemAssigned.
identityIds This property is required. List<String>
principalId This property is required. String
The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
tenantId This property is required. String
The Tenant ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
type This property is required. String
The type of identity used for the Healthcare Med Tech Service. Possible values are SystemAssigned.
identityIds This property is required. string[]
principalId This property is required. string
The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
tenantId This property is required. string
The Tenant ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
type This property is required. string
The type of identity used for the Healthcare Med Tech Service. Possible values are SystemAssigned.
identity_ids This property is required. Sequence[str]
principal_id This property is required. str
The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
tenant_id This property is required. str
The Tenant ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
type This property is required. str
The type of identity used for the Healthcare Med Tech Service. Possible values are SystemAssigned.
identityIds This property is required. List<String>
principalId This property is required. String
The Principal ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
tenantId This property is required. String
The Tenant ID of the System Assigned Managed Service Identity that is configured on this Healthcare Med Tech Service.
type This property is required. 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 azurerm Terraform Provider.

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi