QueueAuthorizationRule

class QueueAuthorizationRule : KotlinCustomResource

Deprecated

azure.eventhub.QueueAuthorizationRule has been deprecated in favor of azure.servicebus.QueueAuthorizationRule

Manages an Authorization Rule for a ServiceBus Queue.

Example Usage

resources:
example:
type: azure:core:ResourceGroup
properties:
name: my-servicebus
location: West US
exampleNamespace:
type: azure:servicebus:Namespace
name: example
properties:
name: tfex-servicebus-namespace
location: ${example.location}
resourceGroupName: ${example.name}
sku: Standard
tags:
source: example
exampleQueue:
type: azure:servicebus:Queue
name: example
properties:
name: tfex_servicebus_queue
namespaceId: ${exampleNamespace.id}
enablePartitioning: true
exampleQueueAuthorizationRule:
type: azure:servicebus:QueueAuthorizationRule
name: example
properties:
name: examplerule
queueId: ${exampleQueue.id}
listen: true
send: true
manage: false

Import

ServiceBus Queue Authorization Rules can be imported using the resource id, e.g.

$ pulumi import azure:eventhub/queueAuthorizationRule:QueueAuthorizationRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ServiceBus/namespaces/namespace1/queues/queue1/authorizationRules/rule1

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val listen: Output<Boolean>?

Does this Authorization Rule have Listen permissions to the ServiceBus Queue? Defaults to false.

Link copied to clipboard
val manage: Output<Boolean>?

Does this Authorization Rule have Manage permissions to the ServiceBus Queue? When this property is true - both listen and send must be too. Defaults to false.

Link copied to clipboard
val name: Output<String>

Specifies the name of the Authorization Rule. Changing this forces a new resource to be created.

Link copied to clipboard

The Primary Connection String for the Authorization Rule.

Link copied to clipboard

The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired.

Link copied to clipboard
val primaryKey: Output<String>

The Primary Key for the Authorization Rule.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val queueId: Output<String>

Specifies the ID of the ServiceBus Queue. Changing this forces a new resource to be created.

Link copied to clipboard

The Secondary Connection String for the Authorization Rule.

Link copied to clipboard

The alias Secondary Connection String for the ServiceBus Namespace

Link copied to clipboard
val secondaryKey: Output<String>

The Secondary Key for the Authorization Rule.

Link copied to clipboard
val send: Output<Boolean>?

Does this Authorization Rule have Send permissions to the ServiceBus Queue? Defaults to false.

Link copied to clipboard
val urn: Output<String>