» 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 - (Required) Specifies the name of the ServiceBus Namespace Authorization Rule.

  • namespace_name - (Required) Specifies the name of the ServiceBus Namespace.

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

» Attributes Reference