Microsoft.ServiceBus namespaces/queues/authorizationRules template reference

Template format

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

{
  "name": "string",
  "type": "Microsoft.ServiceBus/namespaces/queues/authorizationRules",
  "apiVersion": "2014-09-01",
  "location": "string",
  "properties": {
    "rights": [
      "string"
    ],
    "primaryKey": "string",
    "secondaryKey": "string",
    "keyName": "string",
    "claimType": "string",
    "claimValue": "string"
  }
}

Property values

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

Microsoft.ServiceBus/namespaces/queues/authorizationRules object

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

See Set name and type for child resources.
apiVersion enum Yes 2014-09-01
location string No data center location.
properties object Yes SharedAccessAuthorizationRuleProperties object

SharedAccessAuthorizationRuleProperties object

Name Type Required Value
rights array Yes The rights associated with the rule. - Manage, Send, Listen
primaryKey string No A base64-encoded 256-bit primary key for signing and validating the SAS token.
secondaryKey string No A base64-encoded 256-bit primary key for signing and validating the SAS token.
keyName string No A string that describes the Key Name of authorization rule.
claimType string No A string that describes Claim Type for authorization rule.
claimValue string No A string that describes Claim Value of authorization rule.