Microsoft.Relay namespaces

Template format

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

{
  "name": "string",
  "type": "Microsoft.Relay/namespaces",
  "apiVersion": "2017-04-01",
  "location": "string",
  "tags": {},
  "sku": {
    "name": "Standard",
    "tier": "Standard"
  },
  "properties": {},
  "resources": []
}

Property values

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

Microsoft.Relay/namespaces object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The namespace name
type enum Yes For JSON - Microsoft.Relay/namespaces
apiVersion enum Yes For JSON - 2017-04-01
location string Yes Resource location.
tags object No Resource tags.
sku object No SKU of the namespace. - Sku object
properties object Yes Description of Relay namespace
resources array No wcfRelays hybridConnections authorizationRules

Sku object

Name Type Required Value
name enum Yes Name of this SKU. - Standard
tier enum No The tier of this SKU. - Standard

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Azure Cloud Shell - VNet

Deploy to Azure
This template deploys Azure Cloud Shell resources into an Azure virtual network.
Create an Azure Relay namespace with all resources

Deploy to Azure
This template enables you to deploy an Azure Relay namespace with standard SKU, a WCF Relay and a 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 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.
Create an Azure Relay namespace and HybridConnection

Deploy to Azure
This template enables you to deploy an Azure Relay namespace with standard SKU and a HybridConnection.
Create an Azure Relay namespace

Deploy to Azure
This template enables you to deploy an Azure Relay namespace with a Standard SKU.
Create an Azure Relay namespace with a WCF Relay

Deploy to Azure
This template enables you to deploy an Azure Relay namespace with standard SKU and a WCF Relay