【问题标题】:How to get the AzServiceBusKey from azure如何从 azure 获取 AzServiceBusKey
【发布时间】:2021-02-24 10:13:33
【问题描述】:

我正在尝试在 powershell 中运行以下命令以从我的 azure 订阅中获取 AzServiceBusKey

Get-AzServiceBusKey -ResourceGroupName ts-encompass-bj -Namespace ts-encompass-sb-bj -Name "RootSend"

它抛出错误:Get-AzServiceBusKey:转换值时出错“请求的资源 RootSend 不存在。”键入“Microsoft.Azure.Commands.ServiceBus.ErrorResponseContent”。

不确定这里的 Name 属性是什么以及它是如何设置的。

【问题讨论】:

    标签: azure powershell


    【解决方案1】:

    -Name 是授权规则名称。 RootManageSharedAccessKey 之类的东西:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-03-31
      • 2018-12-17
      • 2021-09-08
      • 1970-01-01
      • 1970-01-01
      • 2022-11-06
      • 2019-09-01
      相关资源
      最近更新 更多