def list(**kwargs): '''List all the ACL Profiles in the Message VPN''' rest_mgr = RestMgr(kwargs) res = rest_mgr.get(suburl) send_response(res)
def show(name, rdp, **kwargs): try: rest_mgr = RestMgr(kwargs) rest_mgr.get(f'{suburl1}/{rdp}/{suburl}', name) except Exception as ex: logger.error(f"{ex}")
def show(name, **kwargs): '''Show the details of an existing ACL Profile''' rest_mgr = RestMgr(kwargs) res = rest_mgr.get(suburl, name) send_response(res)
def list(**kwargs): '''List all client usernames in the Message VPN''' rest_mgr = RestMgr(kwargs) res = rest_mgr.get(suburl) send_response(res)
def list(rdp, **kwargs): try: rest_mgr = RestMgr(kwargs) rest_mgr.get(f'{suburl1}/{rdp}/{suburl}') except Exception as ex: logger.error(f"{ex}")
def list(ctx, **kwargs): try: rest_mgr = RestMgr(kwargs) rest_mgr.get(suburl) except Exception as ex: logger.error(f"{ex}")
def show(name, **kwargs): '''Show details of an existing client username''' rest_mgr = RestMgr(kwargs) res = rest_mgr.get(suburl, name) send_response(res)
def show(name, **kwargs): try: rest_mgr = RestMgr(kwargs) rest_mgr.get(suburl, name) except Exception as ex: logger.error(f"{ex}")
def list(**kwargs): '''List all the queues''' rest_mgr = RestMgr(kwargs) res = rest_mgr.get(f'{suburl}', None) send_response(res)
def show(qname, **kwargs): '''Dump the properties of an existing queue''' rest_mgr = RestMgr(kwargs) res = rest_mgr.get(suburl, qname) send_response(res)
def show(name, **kwargs): '''Show the properties of a client profile''' rest_mgr = RestMgr(kwargs) res = rest_mgr.get(suburl, name) send_response(res)
def cf_show(ctx, name, **kwargs): # try: logging.debug(ctx.obj) rest_mgr = RestMgr(kwargs) res = rest_mgr.get('jndiConnectionFactories', name) logger.debug(res)