Azure Messaging Cluster
This page shows how to write Terraform and Azure Resource Manager for Messaging Cluster and write them securely.
azurerm_eventhub_cluster (Terraform)
The Cluster in Messaging can be configured in Terraform with the resource name azurerm_eventhub_cluster
. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_eventhub_cluster" "cluster" {
name = var.name
resource_group_name = data.azurerm_resource_group.rg.name
location = var.location != null ? var.location : data.azurerm_resource_group.rg.location
sku_name = "Dedicated_1"
tags = var.tags
Parameters
-
id
optional computed - string -
location
required - string -
name
required - string -
resource_group_name
required - string -
sku_name
required - string -
tags
optional - map from string to string -
timeouts
single block
Explanation in Terraform Registry
Manages an EventHub Cluster
Microsoft.EventHub/clusters (Azure Resource Manager)
The clusters in Microsoft.EventHub can be configured in Azure Resource Manager with the resource name Microsoft.EventHub/clusters
. 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 - stringlocation
optional - stringResource location.
name
required - stringThe name of the Event Hubs Cluster.
properties
requiredsku
optionalcapacity
optional - integerThe quantity of Event Hubs Cluster Capacity Units contained in this cluster.
name
required - stringName of this SKU.
tags
optional - stringResource tags.
type
required - string
Frequently asked questions
What is Azure Messaging Cluster?
Azure Messaging Cluster is a resource for Messaging of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Messaging Cluster?
For Terraform, the rafaelvelosoAZ/NewOne source code example is useful. See the Terraform Example section for further details.