def show_lb(kwargs=None, call=None):
 if (call != 'function'):
  raise SaltCloudSystemExit('The show_lb function must be called with -f or --function.')
 if ((not kwargs) or ('name' not in kwargs)):
  log.error('Must specify name of load-balancer.')
  return False
 lb_conn = get_lb_conn(get_conn())
 return _expand_balancer(lb_conn.get_balancer(kwargs['name']))

def show_lb ( kwargs = None , call = None ) : if ( call != 'function' ) : raise SaltCloudSystemExit ( 'The show_lb function must be called with -f or --function.' ) if ( ( not kwargs ) or ( 'name' not in kwargs ) ) : log . error ( 'Must specify name of load-balancer.' ) return False lb_conn = get_lb_conn ( get_conn ( ) ) return _expand_balancer ( lb_conn . get_balancer ( kwargs [ 'name' ] ) )
show the details of an existing load-balancer .