我正在尝试找出一种使用 Azure 管理 API、cmdlet 或 REST API 创建 Azure Servicebus 命名空间的方法,以便我可以为我的部署创建可重复的脚本。目前,我知道如何创建 Servicebus 命名空间的唯一方法是通过 Azure 门户。
是否有一种可编写脚本(c#、powershell)的方式来创建新的 azure 服务总线,无需使用 Azure 门户?
这里有一些我已经阅读过的链接:
Azure Cmdlet:msdn.microsoft.com/en-us/library/jj152841.aspx
Windows Azure API 引用:msdn.microsoft.com/en-us/library/windowsazure/ff800682.aspx
Declaritively and Programitcally Subscribing to the Windows Azure Service Bus Relay with WCF
How to Use the Service Bus Relay Service
提前谢谢您。
加油站
最佳答案
您可以使用最新版本的Azure SDK tools通过 powershell 创建命名空间。 This blog post有一个很好的教程,介绍如何使用 SDK 以及可用的 ServiceBus 操作。
关于azure - 代码生成 Azure Servicebus 命名空间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13923003/