Microsoft.ServiceBus namespaces/AuthorizationRules template reference

Template format

To create a Microsoft.ServiceBus/namespaces/AuthorizationRules resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.ServiceBus/namespaces/AuthorizationRules",
  "apiVersion": "2017-04-01",
  "properties": {
    "rights": [
      "string"
    ]
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.ServiceBus/namespaces/AuthorizationRules object

Name Type Required Value
name string Yes The authorization rule name.
type enum Yes AuthorizationRules
-or-
Microsoft.ServiceBus/namespaces/AuthorizationRules

See Set name and type for child resources.
apiVersion enum Yes 2017-04-01
properties object Yes AuthorizationRule properties. - SBAuthorizationRuleProperties object

SBAuthorizationRuleProperties object

Name Type Required Value
rights array Yes The rights associated with the rule. - Manage, Send, Listen

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create a Service Bus Premium Namespace and AuthorizationRule

Deploy to Azure
This template creates a Service Bus Premium Namespace and a namespace AuthorizationRule
Correlating messages over Logic Apps using Service Bus

Deploy to Azure
which shows how we can correlate messages over Logic Apps using Azure Service Bus
Create a Service Bus namespace and queue authorization rule

Deploy to Azure
This template enables you to deploy a Service Bus Standard namespace, and authorization rules for both the namespace and a queue.