I want to know there are too many service bus messages in my queue and if need be replay(dead-lettered messages) them. I am currently able to peek and replay the messages but I have no clue on how to get the active/dead-lettered-message count. I'm basically looking for the python equivalent of this powershell command.
az servicebus queue show --resource-group myresourcegroup \
--namespace-name mynamespace \
--name myqueue \
--query countDetails
There's documentation for this on powershell but I wasn't able to find anything for python. Can someone. Can someone kindly help me with this?