Use this API to fetch all the vpnurl resources that are configured on netscaler.
340768
public static vpnurl[] get(nitro_service service) throws Exception{
		vpnurl obj = new vpnurl();
		vpnurl[] response = (vpnurl[])obj.get_resources(service);
		return response;
	}
1121790
public static dnsview[] get(nitro_service service) throws Exception{
		dnsview obj = new dnsview();
		dnsview[] response = (dnsview[])obj.get_resources(service);
		return response;
	}
888101
public static vpnparameter get(nitro_service service,  options option) throws Exception{
		vpnparameter obj = new vpnparameter();
		vpnparameter[] response = (vpnparameter[])obj.get_resources(service,option);
		return response[0];
	}
1344021
def get_all_services(resource_root, cluster_name="default", view=None):
  
  return call(resource_root.get,
      SERVICES_PATH % (cluster_name,),
      ApiService, True, params=view and dict(view=view) or None)
116428
public static dnstxtrec[] get(nitro_service service) throws Exception{
		dnstxtrec obj = new dnstxtrec();
		dnstxtrec[] response = (dnstxtrec[])obj.get_resources(service);
		return response;
	}
68370
public static vpnglobal_vpnnexthopserver_binding[] get(nitro_service service) throws Exception{
		vpnglobal_vpnnexthopserver_binding obj = new vpnglobal_vpnnexthopserver_binding();
		vpnglobal_vpnnexthopserver_binding response[] = (vpnglobal_vpnnexthopserver_binding[]) obj.get_resources(service);
		return response;
	}
274189
def get_resources(resources):  # pylint:disable=too-many-branches
    
    limits = {}
    requests = {}
    if resources is None:
        return None
    if resources.cpu:
        if resources.cpu.limits:
            limits['cpu'] = resources.cpu.limits
        if resources.cpu.requests:
            requests['cpu'] = resources.cpu.requests

    if resources.memory:
        if resources.memory.limits:
            limits['memory'] = '{}Mi'.format(resources.memory.limits)
        if resources.memory.requests:
            requests['memory'] = '{}Mi'.format(resources.memory.requests)

    if resources.gpu:
        if resources.gpu.limits:
            limits[conf.get('K8S_GPU_RESOURCE_KEY')] = resources.gpu.limits
        if resources.gpu.requests:
            requests[conf.get('K8S_GPU_RESOURCE_KEY')] = resources.gpu.requests

    if resources.tpu:
        if resources.tpu.limits:
            limits[conf.get('K8S_TPU_RESOURCE_KEY')] = resources.tpu.limits
        if resources.tpu.requests:
            requests[conf.get('K8S_TPU_RESOURCE_KEY')] = resources.tpu.requests
    return client.V1ResourceRequirements(limits=limits or None, requests=requests or None)
500069
public static vpnclientlessaccesspolicy[] get(nitro_service service) throws Exception{
		vpnclientlessaccesspolicy obj = new vpnclientlessaccesspolicy();
		vpnclientlessaccesspolicy[] response = (vpnclientlessaccesspolicy[])obj.get_resources(service);
		return response;
	}
422177
public static ns_vlan[] get(nitro_service client) throws Exception
	{
		ns_vlan resource = new ns_vlan();
		resource.validate("get");
		return (ns_vlan[]) resource.get_resources(client);
	}
1209528
public static sslvserver[] get(nitro_service service) throws Exception{
		sslvserver obj = new sslvserver();
		sslvserver[] response = (sslvserver[])obj.get_resources(service);
		return response;
	}
217690
public static vpntrafficaction[] get(nitro_service service) throws Exception{
		vpntrafficaction obj = new vpntrafficaction();
		vpntrafficaction[] response = (vpntrafficaction[])obj.get_resources(service);
		return response;
	}
968600
public static vpnclientlessaccessprofile[] get(nitro_service service) throws Exception{
		vpnclientlessaccessprofile obj = new vpnclientlessaccessprofile();
		vpnclientlessaccessprofile[] response = (vpnclientlessaccessprofile[])obj.get_resources(service);
		return response;
	}
883109
public static vlan[] get(nitro_service service) throws Exception{
		vlan obj = new vlan();
		vlan[] response = (vlan[])obj.get_resources(service);
		return response;
	}
912020
public static List<URL> getResources(String name) {
        List<URL> list = new ArrayList<>();

        try {
            ClassLoader loader = Thread.currentThread().getContextClassLoader();
            Enumeration<URL> resources = loader.getResources(name);
            while (resources.hasMoreElements()) {
                URL url = resources.nextElement();
                list.add(url);
            }
        } catch (IOException e) {
            throw new PippoRuntimeException(e);
        }

        return list;
    }
122935
protected base_resource[] get_resources(nitro_service service, options option) throws Exception
	{
		if (!service.isLogin())
			service.login();
		String response = _get(service, option);
		return get_nitro_response(service, response);
	}
70302
public static vpnicaconnection[] get(nitro_service service) throws Exception{
		vpnicaconnection obj = new vpnicaconnection();
		vpnicaconnection[] response = (vpnicaconnection[])obj.get_resources(service);
		return response;
	}
1370548
def get_resources_nodes(call=None, resFilter=None):
    '''
    
    '''
    log.debug('Getting resource: nodes.. (filter: %s)', resFilter)
    resources = query('get', 'cluster/resources')

    ret = {}
    for resource in resources:
        if 'type' in resource and resource['type'] == 'node':
            name = resource['node']
            ret[name] = resource

    if resFilter is not None:
        log.debug('Filter given: %s, returning requested '
                  'resource: nodes', resFilter)
        return ret[resFilter]

    log.debug('Filter not given: %s, returning all resource: nodes', ret)
    return ret