azure resource manager servicebus provider?

2020-04-05 05:54发布

问题:

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?

回答1:

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,                           
        }         
     }


回答2:

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.