Programmatically create azure Service Bus queue and Azure Service Bus trigger for Azure Functions

Viewed 214

I am working on a scenario where when I need to create a new servicebus queue and an azure function that is triggered whenever a message is dropped in the said queue. Is there a way to call an API pass in some parameters and have the queue and function created ?

Any inputs will be much appreciated

1 Answers

Technically, You can achieve both as far as i know.

You can create a new function with the CLI command , i do not think there is an API to do the same.

To create a Service Bus queue you can do it with the Nuget package and here is an answer already.

Related