import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Healthcare Med Tech Service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-rg", * location: "east us", * }); * const exampleWorkspace = new azure.healthcare.Workspace("example", { * name: "examplewkspace", * location: example.location, * resourceGroupName: example.name, * }); * const exampleMedtechService = new azure.healthcare.MedtechService("example", { * name: "examplemed", * workspaceId: exampleWorkspace.id, * location: "east us", * identity: { * type: "SystemAssigned", * }, * eventhubNamespaceName: "example-eventhub-namespace", * eventhubName: "example-eventhub", * eventhubConsumerGroupName: "$Default", * deviceMappingJson: JSON.stringify({ * templateType: "CollectionContent", * template: [{ * templateType: "JsonPathContent", * template: { * typeName: "heartrate", * typeMatchExpression: "$..[?(@heartrate)]", * deviceIdExpression: "$.deviceid", * timestampExpression: "$.measurementdatetime", * values: [{ * required: "true", * valueExpression: "$.heartrate", * valueName: "hr", * }], * }, * }], * }), * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.HealthcareApis` - 2022-12-01 * * ## Import * * Healthcare Med Tech Service can be imported using the resource`id`, e.g. * * ```sh * $ pulumi import azure:healthcare/medtechService:MedtechService example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.HealthcareApis/workspaces/workspace1/iotConnectors/iotconnector1 * ``` */ export declare class MedtechService extends pulumi.CustomResource { /** * Get an existing MedtechService resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: MedtechServiceState, opts?: pulumi.CustomResourceOptions): MedtechService; /** * Returns true if the given object is an instance of MedtechService. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MedtechService; /** * Specifies the Device Mappings of the Med Tech Service. */ readonly deviceMappingJson: pulumi.Output; /** * Specifies the Consumer Group of the Event Hub to connect to. */ readonly eventhubConsumerGroupName: pulumi.Output; /** * Specifies the name of the Event Hub to connect to. */ readonly eventhubName: pulumi.Output; /** * Specifies the namespace name of the Event Hub to connect to. */ readonly eventhubNamespaceName: pulumi.Output; /** * An `identity` block as defined below. */ readonly identity: pulumi.Output; /** * Specifies the Azure Region where the Healthcare Med Tech Service should be created. Changing this forces a new Healthcare Med Tech Service to be created. */ readonly location: pulumi.Output; /** * Specifies the name of the Healthcare Med Tech Service. Changing this forces a new Healthcare Med Tech Service to be created. */ readonly name: pulumi.Output; /** * A mapping of tags to assign to the Healthcare Med Tech Service. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Specifies the id of the Healthcare Workspace where the Healthcare Med Tech Service should exist. Changing this forces a new Healthcare Med Tech Service to be created. */ readonly workspaceId: pulumi.Output; /** * Create a MedtechService resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MedtechServiceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MedtechService resources. */ export interface MedtechServiceState { /** * Specifies the Device Mappings of the Med Tech Service. */ deviceMappingJson?: pulumi.Input; /** * Specifies the Consumer Group of the Event Hub to connect to. */ eventhubConsumerGroupName?: pulumi.Input; /** * Specifies the name of the Event Hub to connect to. */ eventhubName?: pulumi.Input; /** * Specifies the namespace name of the Event Hub to connect to. */ eventhubNamespaceName?: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * Specifies the Azure Region where the Healthcare Med Tech Service should be created. Changing this forces a new Healthcare Med Tech Service to be created. */ location?: pulumi.Input; /** * Specifies the name of the Healthcare Med Tech Service. Changing this forces a new Healthcare Med Tech Service to be created. */ name?: pulumi.Input; /** * A mapping of tags to assign to the Healthcare Med Tech Service. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Specifies the id of the Healthcare Workspace where the Healthcare Med Tech Service should exist. Changing this forces a new Healthcare Med Tech Service to be created. */ workspaceId?: pulumi.Input; } /** * The set of arguments for constructing a MedtechService resource. */ export interface MedtechServiceArgs { /** * Specifies the Device Mappings of the Med Tech Service. */ deviceMappingJson: pulumi.Input; /** * Specifies the Consumer Group of the Event Hub to connect to. */ eventhubConsumerGroupName: pulumi.Input; /** * Specifies the name of the Event Hub to connect to. */ eventhubName: pulumi.Input; /** * Specifies the namespace name of the Event Hub to connect to. */ eventhubNamespaceName: pulumi.Input; /** * An `identity` block as defined below. */ identity?: pulumi.Input; /** * Specifies the Azure Region where the Healthcare Med Tech Service should be created. Changing this forces a new Healthcare Med Tech Service to be created. */ location?: pulumi.Input; /** * Specifies the name of the Healthcare Med Tech Service. Changing this forces a new Healthcare Med Tech Service to be created. */ name?: pulumi.Input; /** * A mapping of tags to assign to the Healthcare Med Tech Service. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Specifies the id of the Healthcare Workspace where the Healthcare Med Tech Service should exist. Changing this forces a new Healthcare Med Tech Service to be created. */ workspaceId: pulumi.Input; }