def list_queues_vhost(vhost, runas=None, *args):
 if ((runas is None) and (not salt.utils.is_windows())):
  runas = salt.utils.get_user()
 cmd = [__context__['rabbitmqctl'], 'list_queues', '-q', '-p', vhost]
 cmd.extend(args)
 res = __salt__['cmd.run_all'](cmd, runas=runas, python_shell=False)
 _check_response(res)
 return _output_to_dict(res['stdout'])

def list_queues_vhost ( vhost , runas = None , * args ) : if ( ( runas is None ) and ( not salt . utils . is_windows ( ) ) ) : runas = salt . utils . get_user ( ) cmd = [ __context__ [ 'rabbitmqctl' ] , 'list_queues' , '-q' , '-p' , vhost ] cmd . extend ( args ) res = __salt__ [ 'cmd.run_all' ] ( cmd , runas = runas , python_shell = False ) _check_response ( res ) return _output_to_dict ( res [ 'stdout' ] )
returns queue details of specified virtual host .