Data Source: azurermServicebusQueueAuthorizationRule
Use this data source to access information about an existing ServiceBus Queue Authorisation Rule within a ServiceBus Queue.
Example Usage
import * as cdktf from "cdktf";
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
const dataAzurermServicebusQueueAuthorizationRuleExample =
new azurerm.dataAzurermServicebusQueueAuthorizationRule.DataAzurermServicebusQueueAuthorizationRule(
this,
"example",
{
name: "example-tfex_name",
namespace_name: "example-namespace",
queue_name: "example-servicebus_queue",
resource_group_name: "example-resources",
}
);
new cdktf.TerraformOutput(this, "id", {
value: dataAzurermServicebusQueueAuthorizationRuleExample.id,
});
Arguments Reference
The following arguments are supported:
-
name
- (Required) The name of this ServiceBus Queue Authorisation Rule. -
namespaceName
- (Required) The name of the ServiceBus Namespace. -
queueName
- (Required) The name of the ServiceBus Queue. -
resourceGroupName
- (Required) The name of the Resource Group where the ServiceBus Queue Authorisation Rule exists.
Attributes Reference
In addition to the Arguments listed above - the following Attributes are exported:
-
id
- The ID of the ServiceBus Queue Authorisation Rule. -
primaryKey
- The Primary Key for the ServiceBus Queue authorization Rule. -
primaryConnectionString
- The Primary Connection String for the ServiceBus Queue authorization Rule. -
secondaryKey
- The Secondary Key for the ServiceBus Queue authorization Rule. -
secondaryConnectionString
- The Secondary Connection String for the ServiceBus Queue authorization Rule. -
primaryConnectionStringAlias
- The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired. -
secondaryConnectionStringAlias
- The alias Secondary Connection String for the ServiceBus Namespace
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the ServiceBus Queue Authorisation Rule.