Is there such a thing as a ServiceBus provider? As part of my application I would like to include a SB namespace, topic and subscriptions. Is the expectation that you deploy the website(s) using ARM, and use the service interface for scripting the other supporting features?
Asked
Active
Viewed 1,469 times
2 Answers
7
There is a Service Bus Provider now. Sample template:
{
"apiVersion": "2014-09-01",
"name": "[parameters('namespace')]",
"type": "Microsoft.ServiceBus/namespaces",
"location": "[parameters('resourceLacation')]",
"properties": {
"messagingSku": "1", //basic tier
"enabled": true,
"status": "Active",
"namespaceType": "Messaging",
"eventHubEnabled": true,
}
}

Milen
- 8,697
- 7
- 43
- 57
-
Thanks for this but is there any way to create queues, topics and subscriptions. Any sample for that ? – Thomas Jan 27 '16 at 20:38
-
1Good example creating Service bus with Queues can be found here:http://wp.sjkp.dk/azure-service-bus-queues-and-sas-with-arm-templates/, one with Topics : https://github.com/sjkp/Azure.ARM.ServiceBus/blob/master/Azure.ARM.ServiceBus/Templates/DeploymentTemplate.json – Milen Jan 28 '16 at 07:12
-
Thank you, do you know if it s possible to add sql filter when creating a toppic subscription using ARM ? – Thomas Jan 28 '16 at 23:07
-
If you can create it via UI (old or new portal) you can then explore it via resources.azure.com and make note of the relevant nodes you need to add – Milen Jan 29 '16 at 08:52
-
I've tried this but I can only see the namespace, no node inside – Thomas Jan 29 '16 at 22:14
-
Here's the docs on using Azure Resource Manager to manage a bus - https://azure.microsoft.com/en-us/documentation/articles/service-bus-resource-manager-overview/ – Stuart Hallows Apr 27 '16 at 05:15
3
There isn't a Service Bus Provider yet. The only way you can create / manage Service Bus from a client machine is via PowerShell or through custom code leveraging either an Azure SDK or the REST Management API.

Simon W
- 5,481
- 3
- 24
- 35