Azure Stream Analytics Output Blob
This page shows how to write Terraform and Azure Resource Manager for Stream Analytics Output Blob and write them securely.
azurerm_stream_analytics_output_blob (Terraform)
The Output Blob in Stream Analytics can be configured in Terraform with the resource name azurerm_stream_analytics_output_blob
. The following sections describe 6 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_stream_analytics_output_blob" "storejob" {
name = "blobstorage"
stream_analytics_job_name = azurerm_stream_analytics_job.asajob.name
resource_group_name = "_resource_group_name_"
storage_account_name = "_storage_account_name_"
storage_account_key = "_storage_account_key_"
resource "azurerm_stream_analytics_output_blob" "prodbs" {
name = "blobstorage"
stream_analytics_job_name = azurerm_stream_analytics_job.asa.name
resource_group_name = azurerm_resource_group.rg.name
storage_account_name = azurerm_storage_account.sa.name
storage_account_key = azurerm_storage_account.sa.primary_access_key
resource "azurerm_stream_analytics_output_blob" "this" {
date_format = var.date_format
name = var.name
path_pattern = var.path_pattern
resource_group_name = var.resource_group_name
storage_account_key = var.storage_account_key
resource "azurerm_stream_analytics_output_blob" "this" {
date_format = var.date_format
name = var.name
path_pattern = var.path_pattern
resource_group_name = var.resource_group_name
storage_account_key = var.storage_account_key
resource "azurerm_stream_analytics_output_blob" "prodbs" {
name = "__asa_output_name__"
stream_analytics_job_name = azurerm_stream_analytics_job.asa.name
resource_group_name = "__rg_name__"
storage_account_name = "__sa_name__"
storage_account_key = "__sa_key__"
resource "azurerm_stream_analytics_output_blob" "stream_output" {
name = var.stream_output_name
stream_analytics_job_name = azurerm_stream_analytics_job.job.name
resource_group_name = var.resource_group_name
storage_account_name = data.azurerm_storage_account.storage_account.name
storage_account_key = data.azurerm_storage_account.storage_account.primary_access_key
Parameters
-
date_format
required - string -
id
optional computed - string -
name
required - string -
path_pattern
required - string -
resource_group_name
required - string -
storage_account_key
required - string -
storage_account_name
required - string -
storage_container_name
required - string -
stream_analytics_job_name
required - string -
time_format
required - string -
serialization
list block-
encoding
optional - string -
field_delimiter
optional - string -
format
optional - string -
type
required - string
-
-
timeouts
single block
Explanation in Terraform Registry
Manages a Stream Analytics Output to Blob Storage.
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 - stringname
required - stringThe name of the output.
properties
requireddatasource
optionalserialization
optionalsizeWindow
optional - numberThe size window to constrain a Stream Analytics output to.
timeWindow
optional - stringThe time frame for filtering Stream Analytics job outputs.
type
required - string
Frequently asked questions
What is Azure Stream Analytics Output Blob?
Azure Stream Analytics Output Blob 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 Blob?
For Terraform, the jortegam22/StreamAnalytic, jortegam22/ArquitecturaCompleta and kevinhead/azurerm source code examples are useful. See the Terraform Example section for further details.