Azure的服务总线队列计数

编程入门 行业动态 更新时间:2024-10-18 08:37:35
本文介绍了Azure的服务总线队列计数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个服务总线Q和来自Azure的门户,我可以或多或少地看到服务总线Q包含有多少行。我怎样才能使用他们的API管理得到这个数?我已经详细阅读该文档,但找到答案都没有成功。

I have a service bus Q and from the Azure portal I can more or less see how many entries the service bus Q contains. How can I get this count using their management API? I have perused the docs but have been unsuccessful in finding an answer.

推荐答案

该QueueDescription有一个属性MessageCount: MSDN ,公告 (跳过了邮件计数详细信息)这将允许通过.NET code

The QueueDescription has a property MessageCount: MSDN, Announcement (skip down to Message Count Details) This will allow access via .NET code

的管理API文档也表明了这暴露: MSDN 这将允许通过REST API访问

The Management API Documentation also shows this exposed: MSDN This will allow access via the Rest API

在PowerShell命令还没有公开此功能。

The PowerShell Cmdlets do not yet expose this functionality.

更多推荐

Azure的服务总线队列计数

本文发布于:2023-10-28 05:08:09,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1535614.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:队列   总线   Azure

发布评论

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

>www.elefans.com

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