» Data Source: azurerm_eventhub_namespace

Use this data source to obtain information about an EventHub Namespace.

» Example Usage

data "azurerm_eventhub_namespace" "test" {
  name                = "search-eventhubns"
  resource_group_name = "search-service"
}

output "eventhub_namespace_id" {
  value = "${data.azurerm_eventhub_namespace.test.id}"
}

» Argument Reference

  • name - (Required) The name of the EventHub Namespace.
  • resource_group_name - (Required) The Name of the Resource Group where the EventHub Namespace exists.

» Attributes Reference

  • id - The ID of the EventHub Namespace.

  • location - The Azure location where the EventHub Namespace exists

  • sku - Defines which tier to use.

  • capacity - The Capacity / Throughput Units for a Standard SKU namespace.

  • auto_inflate_enabled - Is Auto Inflate enabled for the EventHub Namespace?

  • maximum_throughput_units - Specifies the maximum number of throughput units when Auto Inflate is Enabled.

  • tags - A mapping of tags to assign to the EventHub Namespace.

The following attributes are exported only if there is an authorization rule named RootManageSharedAccessKey which is created automatically by Azure.