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
-
endpointrequired - string -
eventhub_consumer_group_namerequired - string -
idoptional computed - string -
iothub_namespacerequired - string -
namerequired - string -
resource_group_namerequired - string -
shared_access_policy_keyrequired - string -
shared_access_policy_namerequired - string -
stream_analytics_job_namerequired - string -
serializationlist block-
encodingoptional - string -
field_delimiteroptional - string -
typerequired - string
-
-
timeoutssingle 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
apiVersionrequired - stringnamerequired - stringThe name of the input.
propertiesrequiredcompressionoptionaltyperequired - stringIndicates the type of compression that the input uses. Required on PUT (CreateOrReplace) requests.
partitionKeyoptional - stringpartitionKey Describes a key in the input data which is used for partitioning the input data
serializationoptional
typerequired - 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.