code generate Azure Servicebus Namespace


I'm trying to figure out a way to create Azure Servicebus namespace using Azure manage API, cmdlets or REST API, so that I can create repeatable scripts for my deployment. Right now the only way I know how to create the Servicebus Namespace is through the Azure Portal.

<strong>Is there a scriptable (c#, powershell) way to create a new azure servicebus w/o using the Azure portal</strong>?

here's a few links I've already read through:

Azure Cmdlets: msdn.microsoft.com/en-us/library/jj152841.aspx

API References for Windows Azure: msdn.microsoft.com/en-us/library/windowsazure/ff800682.aspx

<a href="http://blog.longle.net/2012/09/18/declaritively-and-programitcally-subscribing-to-the-windows-azure-service-bus-relay-with-wcf/" rel="nofollow">Declaritively and Programitcally Subscribing to the Windows Azure Service Bus Relay with WCF</a>

<a href="http://www.windowsazure.com/en-us/develop/net/how-to-guides/service-bus-relay/" rel="nofollow">How to Use the Service Bus Relay Service</a>

Thank you in advance.



Nope. Not sure if it is in the works, but as of right now you can only create a namespace in the portal.


You can use the latest version of the <a href="https://github.com/WindowsAzure/azure-sdk-tools/tree/dev" rel="nofollow">Azure SDK tools</a> to create namespaces via powershell. <a href="http://michaelwasham.com/2012/12/14/new-windows-azure-powershell-update-december-2012/" rel="nofollow">This blog post</a> has a good tutorial on how to use the SDK, and which ServiceBus operations are available.


The <a href="http://msdn.microsoft.com/en-us/library/windowsazure/jj856303.aspx" rel="nofollow">Create Namespace</a> in the Windows Azure Service Bus REST API can be used for that.

According to the documentation:


Creates a new service namespace. Once created, this namespace’s resource manifest is immutable. This operation is idempotent.



"You can use PowerShell to create Service Bus resources, to get started you must have general understanding of PowerShell scripts, NuGet packages, and the .NET Framework. Read this <a href="https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-manage-with-ps" rel="nofollow">Microsoft documentation</a> for more information."


  • PowerShell: Compare CSV to AD
  • How to encrypt data using KMS key in AWS Powershell script
  • Backup of Data Lake Store
  • What exactly does PowerShell's -Version parameter do?
  • How to include Web reference endpoint configuration in another project
  • Bokeh 0.7.1: Dynamically Add Plot to Bokeh-Server Generated Existing Page
  • SEO friendly 301 redirect .htm to .aspx
  • how to translate xml using xslt with complex rules
  • C++ - Is destructor called when a vector holds objects?
  • Why is it still possible to insert a foreign key that doesn't exist?
  • Ant: fileset “dir” attribute with a runtime expanded full path
  • Microsoft Chart Controls for Microsoft .NET Framework 4.0
  • What is Closure Compiler?
  • Is mp4 stream able with ffserver?
  • Pointer vs Reference difference when passing Eigen objects as arguments
  • LNK1104: cannot open file 'kernel32.lib'
  • Python/Javascript: WYSIWYG html editor - Handle large documents fast and/or design theory
  • IE10 strips out hashtag from the URL
  • Compress a file with GZipStream while maintaining its meta-data
  • Can my PDF ping my server when it is opened?
  • powershell Get-Counter -ComputerName parameter on Windows 7
  • Xamarin MonoAndroid Azure mobile service InsertAsync
  • How can I include If-None-Match header in HttpRequestMessage
  • Private IP address in reserved subnet range
  • How To Customize ASP.NET Chart Databound To SqlDataSource
  • Pycharm: Marking a folder as 'sources root' is not recursive for subfolders
  • Enabling DTD support in Sql Server
  • UWP/C# - Issue with AQS and USB Devices
  • Parse a date string in a specific locale (not timezone!)
  • Combining SpatialPolygonsDataFrame of two neighbour countries
  • Retrieving value from sql ExecuteScalar()
  • Display issues when we change from one jquery mobile page to another in firefox
  • Does CUDA 5 support STL or THRUST inside the device code?
  • Do I've to free mysql result after storing it?
  • Why winpcap requires both .lib and .dll to run?
  • InvalidAuthenticityToken between subdomains when logging in with Rails app
  • SQL merge duplicate rows and join values that are different
  • LevelDB C iterator
  • Can't mass-assign protected attributes when import data from csv file
  • reshape alternating columns in less time and using less memory