天青:如何createa一个访问控制服务命名空间服务总线命名空间? [英] Azure: How to createa a Access Control Service namespace for a Service Bus namespace?

查看:176
本文介绍了天青:如何createa一个访问控制服务命名空间服务总线命名空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有正在2种认证机制的Azure服务总线:

There're 2 kinds of authentication mechanism for Azure Service Bus:


  • SAS:共享访问签名

  • ACS:访问控制服务

据这里

According to here,

对于已经2014年8月之前创建的所有(服务总线)的命名空间中,
  伴随ACS命名空间创建的。

For all (Service Bus) namespaces that were created before August 2014, an accompanying ACS namespace was created.

现在它是2014年8月之后,所以没有伴随ACS命名空间会在创建通过Azure管理门户服务总线命名空间创建的。

Now it is after Aug. 2014, so no accompanying ACS namespace will be created when you create a Service Bus namespace through Azure management portal.

上述的组合也相同链路指示为使用以下天青的PowerShell CMD-让

The same link above also instructs to use the following Azure PowerShell cmd-let:

New-AzureSBNamespace YOUR_NAMESPACE –useAcs True

原来的 -useAcs 参数不存在

那么如何创建ACS namcespace为SB命名空间?

So how to create ACS namcespace for a SB namespace?

推荐答案

据我看了一下,有没有办法ACS支持添加到已创建的SB。

As far as I looked, there is no way to add ACS support to an already created SB.

我所做的就是删除服务总线,并使用PowerShell重新创建它。此外,它没有让我使用相同的名字SB,所以我必须设置另一个名字。

What I did was delete the Service Bus, and create it again with Powershell. Also, it did not let me use the same SB name, so I had to set another name.

删除之前,请确保您有出口结构,以避免失去过滤器等。

Before deleting it, make sure you have the structure exported, to avoid loosing filters, etc.

下面是在Azure PowerShell命令你将需要:

Here are the Azure PowerShell commands you'll need:

Add-AzureAccount
get-azuresubscription
select-azuresubscription <name of the subscription you need>
new-azuresbnamespace <name for the service bus> "North Europe" -CreateACSNamespace $true -NamespaceType Messaging

不要忘了导入结构回来。

don't forget to import the structure back.

这篇关于天青:如何createa一个访问控制服务命名空间服务总线命名空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆