Azure Stream Analytics Output Eventhub

This page shows how to write Terraform and Azure Resource Manager for Stream Analytics Output Eventhub and write them securely.

azurerm_stream_analytics_output_eventhub (Terraform)

The Output Eventhub in Stream Analytics can be configured in Terraform with the resource name azurerm_stream_analytics_output_eventhub. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L7
resource "azurerm_stream_analytics_output_eventhub" "this" {
  eventhub_name             = var.eventhub_name
  name                      = var.name
  resource_group_name       = var.resource_group_name
  servicebus_namespace      = var.servicebus_namespace
  shared_access_policy_key  = var.shared_access_policy_key
main.tf#L7
resource "azurerm_stream_analytics_output_eventhub" "this" {
  eventhub_name             = var.eventhub_name
  name                      = var.name
  resource_group_name       = var.resource_group_name
  servicebus_namespace      = var.servicebus_namespace
  shared_access_policy_key  = var.shared_access_policy_key

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Manages a Stream Analytics Output to an EventHub.

Microsoft.StreamAnalytics/streamingjobs/outputs (Azure Resource Manager)

The streamingjobs/outputs in Microsoft.StreamAnalytics can be configured in Azure Resource Manager with the resource name Microsoft.StreamAnalytics/streamingjobs/outputs. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

  • apiVersion required - string
  • name required - string

    The name of the output.

  • properties required
      • datasource optional
        • serialization optional
          • sizeWindow optional - number

            The size window to constrain a Stream Analytics output to.

          • timeWindow optional - string

            The time frame for filtering Stream Analytics job outputs.

      • type required - string

      Frequently asked questions

      What is Azure Stream Analytics Output Eventhub?

      Azure Stream Analytics Output Eventhub is a resource for Stream Analytics of Microsoft Azure. Settings can be wrote in Terraform.

      Where can I find the example code for the Azure Stream Analytics Output Eventhub?

      For Terraform, the kevinhead/azurerm and niveklabs/azurerm source code examples are useful. See the Terraform Example section for further details.