Skip to content

azurermHealthcareMedtechService

Manages a Healthcare Med Tech Service.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
new azurerm.healthcareMedtechService.HealthcareMedtechService(this, "test", {
  device_mapping_json:
    '{\n    "templateType": "CollectionContent",\n    "template": [\n                {\n                  "templateType": "JsonPathContent",\n                  "template": {\n                    "typeName": "heartrate",\n                    "typeMatchExpression": "$..[?(@heartrate)]",\n                    "deviceIdExpression": "$.deviceid",\n                    "timestampExpression": "$.measurementdatetime",\n                    "values": [\n                      {\n                        "required": "true",\n                        "valueExpression": "$.heartrate",\n                        "valueName": "hr"\n                      }\n                    ]\n                  }\n                }\n              ]\n}\n',
  eventhub_consumer_group_name: "tfex-eventhub-consumer-group.name",
  eventhub_name: "tfex-eventhub.name",
  eventhub_namespace_name: "tfex-eventhub-namespace.name",
  identity: [
    {
      type: "SystemAssigned",
    },
  ],
  location: "east us",
  name: "tftest",
  workspace_id: "tfex-workspace_id",
});

Argument Reference

The following arguments are supported:

  • name - (Required) Specifies the name of the Healthcare Med Tech Service. Changing this forces a new Healthcare Med Tech Service to be created.

  • workspaceId - (Required) 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.

  • location - (Required) 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.

  • identity - (Optional) An identity block as defined below.

  • eventhubNamespaceName - (Required) Specifies the namespace name of the Event Hub to connect to.

  • eventhubName - (Required) Specifies the name of the Event Hub to connect to.

  • eventhubConsumerGroupName - (Required) Specifies the Consumer Group of the Event Hub to connect to.

  • deviceMappingJson - (Required) Specifies the Device Mappings of the Med Tech Service.

  • tags - (Optional) A mapping of tags to assign to the Healthcare Med Tech Service.


A identity block supports the following:

  • type - (Required) Specifies the type of Managed Service Identity that should be configured on this Healthcare Med Tech Service. Possible values are systemAssigned.

Attributes Reference

The following arguments are supported:

  • id - The ID of the Healthcare Med Tech Service.

*identity - An identity block as defined below.


An identity block exports the following:

  • type - (Required) The type of identity used for the Healthcare Med Tech service.

  • principalId - The Principal ID associated with this System Assigned Managed Service Identity.

  • tenantId - The Tenant ID associated with this System Assigned Managed Service Identity.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 90 minutes) Used when creating the Healthcare Med Tech Service.
  • update - (Defaults to 90 minutes) Used when updating the Healthcare Med Tech Service.
  • read - (Defaults to 5 minutes) Used when retrieving the Healthcare Med Tech Service.
  • delete - (Defaults to 90 minutes) Used when deleting the Healthcare Med Tech Service.

Import

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

terraform import azurerm_healthcare_medtech_service.example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.HealthcareApis/workspaces/workspace1/iotConnectors/iotconnector1