Azure Stream Analytics Stream Input Iothub
This page shows how to write Terraform and Azure Resource Manager for Stream Analytics Stream Input Iothub and write them securely.
azurerm_stream_analytics_stream_input_iothub (Terraform)
The Stream Input Iothub in Stream Analytics can be configured in Terraform with the resource name azurerm_stream_analytics_stream_input_iothub
. The following sections describe 4 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_stream_analytics_stream_input_iothub" "this" {
endpoint = var.endpoint
eventhub_consumer_group_name = var.eventhub_consumer_group_name
iothub_namespace = var.iothub_namespace
name = var.name
resource_group_name = var.resource_group_name
resource "azurerm_stream_analytics_stream_input_iothub" "this" {
endpoint = var.endpoint
eventhub_consumer_group_name = var.eventhub_consumer_group_name
iothub_namespace = var.iothub_namespace
name = var.name
resource_group_name = var.resource_group_name
resource "azurerm_stream_analytics_stream_input_iothub" "example" {
name = "iothub"
stream_analytics_job_name = azurerm_stream_analytics_job.example.name
resource_group_name = azurerm_resource_group.this.name
endpoint = "messages/events"
eventhub_consumer_group_name = "$Default"
resource "azurerm_stream_analytics_stream_input_iothub" "iotDeployment" {
name = "iothub-input"
stream_analytics_job_name = azurerm_stream_analytics_job.iotDeployment.name
resource_group_name = azurerm_stream_analytics_job.iotDeployment.resource_group_name
endpoint = "messages/events"
eventhub_consumer_group_name = "$Default"
Parameters
-
endpoint
required - string -
eventhub_consumer_group_name
required - string -
id
optional computed - string -
iothub_namespace
required - string -
name
required - string -
resource_group_name
required - string -
shared_access_policy_key
required - string -
shared_access_policy_name
required - string -
stream_analytics_job_name
required - string -
serialization
list block-
encoding
optional - string -
field_delimiter
optional - string -
type
required - string
-
-
timeouts
single block
Explanation in Terraform Registry
Manages a Stream Analytics Stream Input IoTHub.
Microsoft.StreamAnalytics/streamingjobs/inputs (Azure Resource Manager)
The streamingjobs/inputs in Microsoft.StreamAnalytics can be configured in Azure Resource Manager with the resource name Microsoft.StreamAnalytics/streamingjobs/inputs
. 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 - stringname
required - stringThe name of the input.
properties
requiredcompression
optionaltype
required - stringIndicates the type of compression that the input uses. Required on PUT (CreateOrReplace) requests.
partitionKey
optional - stringpartitionKey Describes a key in the input data which is used for partitioning the input data
serialization
optional
type
required - string
Frequently asked questions
What is Azure Stream Analytics Stream Input Iothub?
Azure Stream Analytics Stream Input Iothub 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 Stream Input Iothub?
For Terraform, the kevinhead/azurerm, niveklabs/azurerm and JodyPetroni/Jenkins source code examples are useful. See the Terraform Example section for further details.