Microsoft.ServiceBus namespaces template reference
06/15/2020
3 minutes to read
In this article
To create a Microsoft.ServiceBus/namespaces resource, add the following JSON to the resources section of your template.
{
"name": "string",
"type": "Microsoft.ServiceBus/namespaces",
"apiVersion": "2014-09-01",
"location": "string",
"sku": {
"name": "string",
"tier": "string",
"capacity": "integer"
},
"tags": {},
"properties": {
"status": "string",
"createACSNamespace": "boolean",
"enabled": "boolean"
},
"resources": []
}
Property values
The following tables describe the values you need to set in the schema.
Microsoft.ServiceBus/namespaces object
Name
Type
Required
Value
name
string
Yes
The namespace name.
type
enum
Yes
Microsoft.ServiceBus/namespaces
apiVersion
enum
Yes
2014-09-01
location
string
Yes
Namespace location.
sku
object
No
Sku object
tags
object
No
Namespace tags.
properties
object
Yes
NamespaceProperties object
resources
array
No
topics queues AuthorizationRules
Sku object
Name
Type
Required
Value
name
enum
No
Name of this SKU. - Basic, Standard, Premium
tier
enum
Yes
The billing tier of this particular SKU. - Basic, Standard, Premium
capacity
integer
No
The specified messaging units for the tier.
NamespaceProperties object
Name
Type
Required
Value
status
enum
No
State of the namespace. - Unknown, Creating, Created, Activating, Enabling, Active, Disabling, Disabled, SoftDeleting, SoftDeleted, Removing, Removed, Failed
createACSNamespace
boolean
No
Indicates whether to create an ACS namespace.
enabled
boolean
No
Specifies whether this instance is enabled.
Quickstart templates
The following quickstart templates deploy this resource type.
Template
Description
Create Azure Event Grid Custom Topic and Subscription
Creates an Azure Event Grid custom topic and a service bus queue subscription. Template originally authored by Markus Meyer.
Create Azure Event Grid Custom Topic and Subscription
Creates an Azure Event Grid custom topic and a service bus topic subscription. Template originally authored by Markus Meyer.
Integration Patterns - Message Router - Service Bus
Solution which shows how we can set up the Message Router pattern using a Service Bus Topic
Create a Service Bus Queue and Azure Scheduler Job
An Service Bus namespace, queue, and write-only SAS policy, and an Azure Scheduler job collection and job that will post a message into the Service Bus queue at a regular interval. Template originally authored by John Downs.
Create a Service Bus namespace
This template enables you to deploy a Service Bus namespace with a Basic/Standard SKU.
Create a Service Bus Geo-recovery
This template allows you to configure Service Bus Geo-disaster recovery alias on premium SKU Namespaces.
Create a Service Bus Namespace
This template creates a Service Bus Namespace.
Create a Service Bus Premium Namespace and AuthorizationRule
This template creates a Service Bus Premium Namespace and a namespace AuthorizationRule
Create a Service Bus namespace and queue
This template enables you to deploy a Service Bus Standard namespace and a queue.
Create a Service Bus Namespace and Topic
This template creates a Service Bus Namespace and Topic.
Create a Service Bus namespace, topic, and subscription
This template enables you to deploy a Service Bus Standard namespace, a topic, and a subscription.
Create a Service Bus Topic with Subscription and SQL Filter
This template creates a Service Bus Namespace and Topic with a Subscription using a SQL Filter expression to recieve only the messages that match the defined SQL Filter Expression.
Correlating messages over Logic Apps using Service Bus
which shows how we can correlate messages over Logic Apps using Azure Service Bus
Create a Service Bus namespace and queue
This template enables you to deploy a Service Bus Standard namespace and a queue.
Create a Service Bus namespace, topic, and subscription
This template enables you to deploy a Service Bus Standard namespace, a topic, and a subscription.
Create a Service Bus namespace, topic, subscription and Rule
This template enables you to deploy a Service Bus Standard namespace, a topic, a subscription and a rule.
Connect to a Service Bus namespace via private endpoint
This sample shows how to use configure a virtual network and private DNS zone to access a Service Bus namespace via private endpoint.
Create a Service Bus namespace and queue authorization rule
This template enables you to deploy a Service Bus Standard namespace, and authorization rules for both the namespace and a queue.
Create a Service Bus namespace IP Filter rule
This template enables you to deploy a Service Bus Premium namespace with IP Filter rule
Create a Service Bus namespace Virtual Network rule
This template enables you to deploy a Service Bus Premium namespace with Virtual Network rule
EPiserverCMS in Azure
This template allows you to create resources required for EpiServerCMS deployment in Azure