使用PowerShell v5将高级服务总线的消息传递单元设置为4

编程入门 行业动态 更新时间:2024-10-27 06:21:01
本文介绍了使用PowerShell v5将高级服务总线的消息传递单元设置为4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想通过PowerShell 5将高级服务总线的消息传递单元设置为4. 使用以下命令:

I want to set the messaging unit of premium service bus to 4 via PowerShell 5. Using following command:

New-AzureRmServiceBusNamespace -ResourceGroup Default-ServiceBus-NorthEurope ` -Location NorthEurope -NamespaceName #{PremiumServiceBus} -SkuName "Premium" ` -Capacity 4

它给出的容量是无法识别的变量.

It gives capacity is unrecognized variable.

该怎么办?

推荐答案

Capacity参数未由Powershlell cmdlet定义(请参阅文档).可以使用 REST API .看起来PS库和MSFT需要解决的REST API之间存在脱节.

Capacity parameter is not defined by the Powershlell cmdlet (see documentation). This is possible using REST API. Looks like a disconnect between the PS library and REST API that MSFT would need to address.

我已经提出了一个问题,以便MSFT小组可以解决该问题

I've raised an issue so that MSFT team can address it.

更多推荐

使用PowerShell v5将高级服务总线的消息传递单元设置为4

本文发布于:2023-11-02 18:00:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1553045.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:设置为   总线   单元   高级   消息

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!