Microsoft.EventHub namespaces/AuthorizationRules 2014-09-01

Template format

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

{
  "name": "string",
  "type": "Microsoft.EventHub/namespaces/AuthorizationRules",
  "apiVersion": "2014-09-01",
  "location": "string",
  "properties": {
    "rights": [
      "string"
    ]
  }
}

Property values

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

Microsoft.EventHub/namespaces/AuthorizationRules object

Name Type Required Value
name string Yes The authorization rule name.
type enum Yes AuthorizationRules
-or-
Microsoft.EventHub/namespaces/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

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create EventHubs authorizationRules

Deploy to Azure
This template enables you to deploy a EventHubs Standard namespace, an Event Hub, a consumer group and authorizationRules