Azure Service Bus Queue Count

前端 未结 1 1096
無奈伤痛
無奈伤痛 2021-01-18 13:55

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 h

相关标签:
1条回答
  • 2021-01-18 14:07

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

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

    The PowerShell Cmdlets do not yet expose this functionality.

    0 讨论(0)
提交回复
热议问题