Microsoft.Relay namespaces/AuthorizationRules template reference

Template format

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

{
  "name": "string",
  "type": "Microsoft.Relay/namespaces/AuthorizationRules",
  "apiVersion": "2016-07-01",
  "properties": {
    "rights": [
      "string"
    ]
  }
}

Property values

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

Microsoft.Relay/namespaces/AuthorizationRules object

Name Type Required Value
name string Yes The authorizationRule name.
type enum Yes AuthorizationRules
-or-
Microsoft.Relay/namespaces/AuthorizationRules

See Set name and type for child resources.
apiVersion enum Yes 2016-07-01
properties object Yes Authorization Rule properties - AuthorizationRuleProperties object

AuthorizationRuleProperties 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 an Azure Relay namespace with SAS Policies

Deploy to Azure
This template enables you to deploy an Azure Relay namespace with standard SKU, a HybridConnection entity and authorization rules for both the namespace and HybridConnection.
Create an Azure Relay namespace with SAS Policies

Deploy to Azure
This template enables you to deploy an Azure Relay namespace with standard SKU, a WcfRealy entity and authorization rules for both the namespace and WcfRealy.