Use this API to fetch all the lbgroup resources that are configured on netscaler.
355353
public static lbgroup[] get(nitro_service service) throws Exception{
		lbgroup obj = new lbgroup();
		lbgroup[] response = (lbgroup[])obj.get_resources(service);
		return response;
	}
843252
public static lbwlm_lbvserver_binding[] get(nitro_service service, String wlmname) throws Exception{
		lbwlm_lbvserver_binding obj = new lbwlm_lbvserver_binding();
		obj.set_wlmname(wlmname);
		lbwlm_lbvserver_binding response[] = (lbwlm_lbvserver_binding[]) obj.get_resources(service);
		return response;
	}
1232361
public static sslservicegroup[] get(nitro_service service) throws Exception{
		sslservicegroup obj = new sslservicegroup();
		sslservicegroup[] response = (sslservicegroup[])obj.get_resources(service);
		return response;
	}
1216247
def get_all_bandwidth_groups(self):
        
        bandwidth_groups = self._call("getAllBandwidthGroups")
        bandwidth_groups = [IBandwidthGroup(a) for a in bandwidth_groups]
        return bandwidth_groups
1308285
public static Iterable<BoxGroup.Info> getAllGroups(final BoxAPIConnection api) {
        return new Iterable<BoxGroup.Info>() {
            public Iterator<BoxGroup.Info> iterator() {
                URL url = GROUPS_URL_TEMPLATE.build(api.getBaseURL());
                return new BoxGroupIterator(api, url);
            }
        };
    }
399389
def group(self):
        
        if self.api and self.group_id:
            return self.api._get_group(self.group_id)
1071446
public static gslbservice[] get(nitro_service service) throws Exception{
		gslbservice obj = new gslbservice();
		gslbservice[] response = (gslbservice[])obj.get_resources(service);
		return response;
	}
796371
public List<InvocationMarshaller<?>> getBootstrapServices (String[] bootGroups)
    {
        List<InvocationMarshaller<?>> services = Lists.newArrayList();
        for (String group : bootGroups) {
            services.addAll(_bootlists.get(group));
        }
        return services;
    }
263100
private Set<String> getGroups(DirContext context, String callerDn) {
        Set<String> groups = null;
        String groupSearchBase = idStoreDefinition.getGroupSearchBase();
        String groupSearchFilter = idStoreDefinition.getGroupSearchFilter();
        if (groupSearchBase.isEmpty() || groupSearchFilter.isEmpty()) {
            groups = getGroupsByMembership(context, callerDn);
        } else {
            groups = getGroupsByMember(context, callerDn, groupSearchBase, groupSearchFilter);
        }
        return groups;
    }
513144
public static lbgroup_lbvserver_binding[] get(nitro_service service, String name) throws Exception{
		lbgroup_lbvserver_binding obj = new lbgroup_lbvserver_binding();
		obj.set_name(name);
		lbgroup_lbvserver_binding response[] = (lbgroup_lbvserver_binding[]) obj.get_resources(service);
		return response;
	}
1181407
private List<LoadBalancer> findLoadBalancers(@Nullable String loadBalancerId) throws CloudException, InternalException {
        APITrace.begin(getProvider(), "LB.listLoadBalancers");
        try {
            // get all vips, optionally filtered by lbId
            List<JSONObject> listeners = findAllVips(loadBalancerId);

            // get all members, optionally filtered by lbId
            List<JSONObject> members = findAllMembers(loadBalancerId);

            NovaMethod method = new NovaMethod(getProvider());
            // Unlike Horizon the OS LB API returns all tenants' load balancers, so we must filter
            JSONObject result = method.getNetworks(getLoadBalancersResource(), loadBalancerId, false, "?tenant_id="+getContext().getAccountNumber());
            List<LoadBalancer> results = new ArrayList<LoadBalancer>();
            if( loadBalancerId == null && result != null && result.has("pools") ) {
                try {
                    JSONArray loadbalancers = result.getJSONArray("pools");
                    for( int i = 0; i < loadbalancers.length(); i++ ) {
                        JSONObject lb = loadbalancers.getJSONObject(i);
                        results.add(toLoadBalancer(lb, listeners, members));
                    }
                }
                catch( JSONException e ) {
                    logger.error("Unable to understand listPools response: " + e.getMessage());
                    throw new CloudException(e);
                }
            }
            else if( result != null && result.has("pool")) {
                try {
                    return Collections.singletonList(toLoadBalancer(result.getJSONObject("pool"), listeners, members));
                }
                catch( JSONException e ) {
                    logger.error("Unable to understand getPool response: " + e.getMessage());
                    throw new CloudException(e);
                }
            }

            return results;
        }
        finally {
            APITrace.end();
        }
    }
682877
public static lbmonbindings_servicegroup_binding[] get(nitro_service service, String monitorname) throws Exception{
		lbmonbindings_servicegroup_binding obj = new lbmonbindings_servicegroup_binding();
		obj.set_monitorname(monitorname);
		lbmonbindings_servicegroup_binding response[] = (lbmonbindings_servicegroup_binding[]) obj.get_resources(service);
		return response;
	}
544104
public static lacp[] get(nitro_service service) throws Exception{
		lacp obj = new lacp();
		lacp[] response = (lacp[])obj.get_resources(service);
		return response;
	}
65760
public static lbpersistentsessions[] get(nitro_service service, options option) throws Exception{
		lbpersistentsessions obj = new lbpersistentsessions();
		lbpersistentsessions[] response = (lbpersistentsessions[])obj.get_resources(service,option);
		return response;
	}
53854
public static servicegroupbindings get(nitro_service service, String servicegroupname) throws Exception{
		servicegroupbindings obj = new servicegroupbindings();
		obj.set_servicegroupname(servicegroupname);
		servicegroupbindings response = (servicegroupbindings) obj.get_resource(service);
		return response;
	}
952043
public static lbgroup_binding get(nitro_service service, String name) throws Exception{
		lbgroup_binding obj = new lbgroup_binding();
		obj.set_name(name);
		lbgroup_binding response = (lbgroup_binding) obj.get_resource(service);
		return response;
	}
507541
public java.util.List<DBSubnetGroup> getDBSubnetGroups() {
        if (dBSubnetGroups == null) {
            dBSubnetGroups = new com.amazonaws.internal.SdkInternalList<DBSubnetGroup>();
        }
        return dBSubnetGroups;
    }