QueueAuthorizationRuleArgs

data class QueueAuthorizationRuleArgs constructor(val listen: Output<Boolean>? = null, val manage: Output<Boolean>? = null, val name: Output<String>? = null, val queueId: Output<String>? = null, val send: Output<Boolean>? = null) : ConvertibleToJava<QueueAuthorizationRuleArgs>

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

Constructors

Link copied to clipboard
constructor(listen: Output<Boolean>? = null, manage: Output<Boolean>? = null, name: Output<String>? = null, queueId: Output<String>? = null, send: Output<Boolean>? = null)

Properties

Link copied to clipboard
val listen: Output<Boolean>? = null

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

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

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>? = null

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

Link copied to clipboard
val queueId: Output<String>? = null

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

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

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

Functions

Link copied to clipboard
open override fun toJava(): QueueAuthorizationRuleArgs