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

We recommend using Azure Native.

Azure Classic v5.58.0 published on Saturday, Dec 2, 2023 by Pulumi

azure.healthcare.getMedtechService

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.58.0 published on Saturday, Dec 2, 2023 by Pulumi

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

    Example Usage

    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/v5/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.applyValue(getMedtechServiceResult -> getMedtechServiceResult.id()));
        }
    }
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.healthcare.get_medtech_service(name="tfexmedtech",
        workspace_id="tfexwks")
    pulumi.export("azurermHealthcareMedtechServiceId", example.id)
    
    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);
    
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure:healthcare/getMedtechService:getMedtechService
      arguments:
        # arguments dictionary

    The 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:

    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 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 azurerm Terraform Provider.

    azure logo

    We recommend using Azure Native.

    Azure Classic v5.58.0 published on Saturday, Dec 2, 2023 by Pulumi