» azurerm_eventhub_authorization_rule

Use this data source to access information about an existing Event Hubs Authorization Rule within an Event Hub.

» Example Usage

data "azurerm_eventhub_authorization_rule" "test" {
  name                = "test"
  namespace_name      = "${azurerm_eventhub_namespace.test.name}"
  eventhub_name       = "${azurerm_eventhub.test.name}"
  resource_group_name = "${azurerm_resource_group.test.name}"

» Argument Reference

  • name - Specifies the name of the EventHub Authorization Rule resource. be created.

  • namespace_name - Specifies the name of the grandparent EventHub Namespace.

  • eventhub_name - Specifies the name of the EventHub.

  • resource_group_name - The name of the resource group in which the EventHub Authorization Rule's grandparent Namespace exists.

» Attributes Reference

The following attributes are exported:

» Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 5 minutes) Used when retrieving the EventHub Authorization Rule.