MedtechService

class MedtechService : KotlinCustomResource

Manages a Healthcare Med Tech Service.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.healthcare.Workspace;
import com.pulumi.azure.healthcare.WorkspaceArgs;
import com.pulumi.azure.healthcare.MedtechService;
import com.pulumi.azure.healthcare.MedtechServiceArgs;
import com.pulumi.azure.healthcare.inputs.MedtechServiceIdentityArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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) {
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("east us")
.build());
var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.build());
var exampleMedtechService = new MedtechService("exampleMedtechService", MedtechServiceArgs.builder()
.workspaceId(exampleWorkspace.id())
.location("east us")
.identity(MedtechServiceIdentityArgs.builder()
.type("SystemAssigned")
.build())
.eventhubNamespaceName("example-eventhub-namespace")
.eventhubName("example-eventhub")
.eventhubConsumerGroupName("$Default")
.deviceMappingJson(serializeJson(
jsonObject(
jsonProperty("templateType", "CollectionContent"),
jsonProperty("template", jsonArray(jsonObject(
jsonProperty("templateType", "JsonPathContent"),
jsonProperty("template", jsonObject(
jsonProperty("typeName", "heartrate"),
jsonProperty("typeMatchExpression", "$..[?(@heartrate)]"),
jsonProperty("deviceIdExpression", "$.deviceid"),
jsonProperty("timestampExpression", "$.measurementdatetime"),
jsonProperty("values", jsonArray(jsonObject(
jsonProperty("required", "true"),
jsonProperty("valueExpression", "$.heartrate"),
jsonProperty("valueName", "hr")
)))
))
)))
)))
.build());
}
}

Import

Healthcare Med Tech Service can be imported using the resourceid, e.g.

$ pulumi import azure:healthcare/medtechService:MedtechService example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.HealthcareApis/workspaces/workspace1/iotConnectors/iotconnector1

Properties

Link copied to clipboard

Specifies the Device Mappings of the Med Tech Service.

Link copied to clipboard

Specifies the Consumer Group of the Event Hub to connect to.

Link copied to clipboard
val eventhubName: Output<String>

Specifies the name of the Event Hub to connect to.

Link copied to clipboard

Specifies the namespace name of the Event Hub to connect to.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

An identity block as defined below.

Link copied to clipboard
val location: Output<String>

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.

Link copied to clipboard
val name: Output<String>

Specifies the name of the Healthcare Med Tech Service. Changing this forces a new Healthcare Med Tech Service to be created.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags to assign to the Healthcare Med Tech Service.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val workspaceId: Output<String>

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.