Azure PowerShell 1.0 - Get-AzureSBNamespace 在哪里?

Azure PowerShell 1.0 - Where is Get-AzureSBNamespace?

我一直在关注此 blog to create a Service Bus namespace on Azure using PowerShell 1.0. However, after logging into Azure using the cmdlet Login-AzureRmAccount (as described here) 并尝试使用 cmdlet Get-AzureSBNamespace returns 空引用异常,即

Get-AzureSBNamespace : Object reference not set to an instance of an object.

查看 Powershell 1.0 的 documentation,似乎没有对 Azure 上服务总线服务的任何 cmdlet 的引用,即 Get-AzureSBNamespace

Azure PowerShell 1.0 是否支持 Azure 服务总线(特别是 EventHubs)?

我按照以下link创建服务总线事件中心并成功创建它。

如以上评论所述,您无法将事件中心分配给它位于 Add-Azure 帐户命令下的资源组。

https://azure.microsoft.com/en-in/documentation/articles/service-bus-powershell-how-to-provision/