» Data Source: azurerm_servicebus_namespace_authorization_rule

Use this data source to access information about an existing ServiceBus Namespace Authorization Rule.

» Example Usage

data "azurerm_servicebus_namespace_authorization_rule" "example" {
  name                = "examplerule"
  namespace_name      = "examplenamespace"
  resource_group_name = "example-resources"
}

output "rule_id" {
  value = data.azurerm_servicebus_namespace_authorization_rule.example.id
}

» Argument Reference

  • name - Specifies the name of the ServiceBus Namespace Authorization Rule.

  • namespace_name - Specifies the name of the ServiceBus Namespace.

  • resource_group_name - Specifies the name of the Resource Group where the ServiceBus Namespace exists.

» Attributes Reference

» Timeouts

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

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