MedtechServiceArgs

data class MedtechServiceArgs(val deviceMappingJson: Output<String>? = null, val eventhubConsumerGroupName: Output<String>? = null, val eventhubName: Output<String>? = null, val eventhubNamespaceName: Output<String>? = null, val identity: Output<MedtechServiceIdentityArgs>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val workspaceId: Output<String>? = null) : ConvertibleToJava<MedtechServiceArgs>

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

Constructors

Link copied to clipboard
fun MedtechServiceArgs(deviceMappingJson: Output<String>? = null, eventhubConsumerGroupName: Output<String>? = null, eventhubName: Output<String>? = null, eventhubNamespaceName: Output<String>? = null, identity: Output<MedtechServiceIdentityArgs>? = null, location: Output<String>? = null, name: Output<String>? = null, tags: Output<Map<String, String>>? = null, workspaceId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): MedtechServiceArgs

Properties

Link copied to clipboard
val deviceMappingJson: Output<String>? = null

Specifies the Device Mappings of the Med Tech Service.

Link copied to clipboard
val eventhubConsumerGroupName: Output<String>? = null

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

Link copied to clipboard
val eventhubName: Output<String>? = null

Specifies the name of the Event Hub to connect to.

Link copied to clipboard
val eventhubNamespaceName: Output<String>? = null

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

Link copied to clipboard

An identity block as defined below.

Link copied to clipboard
val location: Output<String>? = null

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>? = null

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 tags: Output<Map<String, String>>? = null

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

Link copied to clipboard
val workspaceId: Output<String>? = null

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.