Use this API to fetch filtered set of system_settings resources.
filter string should be in JSON format.eg: "vm_state:DOWN,name:[a-z]+"
504428
public static system_settings[] get_filtered(nitro_service service, String filter) throws Exception
	{
		system_settings obj = new system_settings();
		options option = new options();
		option.set_filter(filter);
		system_settings[] response = (system_settings[]) obj.getfiltered(service, option);
		return response;
	}
871065
public static filterpolicy[] get(nitro_service service) throws Exception{
		filterpolicy obj = new filterpolicy();
		filterpolicy[] response = (filterpolicy[])obj.get_resources(service);
		return response;
	}
403258
public static tmglobal_tmsessionpolicy_binding[] get_filtered(nitro_service service, String filter) throws Exception{
		tmglobal_tmsessionpolicy_binding obj = new tmglobal_tmsessionpolicy_binding();
		options option = new options();
		option.set_filter(filter);
		tmglobal_tmsessionpolicy_binding[] response = (tmglobal_tmsessionpolicy_binding[]) obj.getfiltered(service, option);
		return response;
	}
367341
def get_resources_vms(call=None, resFilter=None, includeConfig=True):
    '''
    
    '''

    timeoutTime = time.time() + 60
    while True:
        log.debug('Getting resource: vms.. (filter: %s)', resFilter)
        resources = query('get', 'cluster/resources')
        ret = {}
        badResource = False
        for resource in resources:
            if 'type' in resource and resource['type'] in ['openvz', 'qemu',
                                                           'lxc']:
                try:
                    name = resource['name']
                except KeyError:
                    badResource = True
                    log.debug('No name in VM resource %s', repr(resource))
                    break

                ret[name] = resource

                if includeConfig:
                    # Requested to include the detailed configuration of a VM
                    ret[name]['config'] = get_vmconfig(
                        ret[name]['vmid'],
                        ret[name]['node'],
                        ret[name]['type']
                    )

        if time.time() > timeoutTime:
            raise SaltCloudExecutionTimeout('FAILED to get the proxmox '
                                            'resources vms')

        # Carry on if there wasn't a bad resource return from Proxmox
        if not badResource:
            break

        time.sleep(0.5)

    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
620240
public static xen_health_disk[] get_filtered(nitro_service service, String filter) throws Exception
	{
		xen_health_disk obj = new xen_health_disk();
		options option = new options();
		option.set_filter(filter);
		xen_health_disk[] response = (xen_health_disk[]) obj.getfiltered(service, option);
		return response;
	}
703185
public static vpnvserver[] get_filtered(nitro_service service, String filter) throws Exception{
		vpnvserver obj = new vpnvserver();
		options option = new options();
		option.set_filter(filter);
		vpnvserver[] response = (vpnvserver[]) obj.getfiltered(service, option);
		return response;
	}
431707
public static ntpserver[] get_filtered(nitro_service service, String filter) throws Exception{
		ntpserver obj = new ntpserver();
		options option = new options();
		option.set_filter(filter);
		ntpserver[] response = (ntpserver[]) obj.getfiltered(service, option);
		return response;
	}
661043
public static host_cpu_core[] get_filtered(nitro_service service, String filter) throws Exception
	{
		host_cpu_core obj = new host_cpu_core();
		options option = new options();
		option.set_filter(filter);
		host_cpu_core[] response = (host_cpu_core[]) obj.getfiltered(service, option);
		return response;
	}
751197
public static ns_cluster[] get_filtered(nitro_service service, String filter) throws Exception
	{
		ns_cluster obj = new ns_cluster();
		options option = new options();
		option.set_filter(filter);
		ns_cluster[] response = (ns_cluster[]) obj.getfiltered(service, option);
		return response;
	}
925813
public static snmp_manager[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception
	{
		snmp_manager obj = new snmp_manager();
		options option = new options();
		option.set_filter(filter);
		snmp_manager[] response = (snmp_manager[]) obj.getfiltered(service, option);
		return response;
	}
203964
public static filterpolicy_crvserver_binding[] get(nitro_service service, String name) throws Exception{
		filterpolicy_crvserver_binding obj = new filterpolicy_crvserver_binding();
		obj.set_name(name);
		filterpolicy_crvserver_binding response[] = (filterpolicy_crvserver_binding[]) obj.get_resources(service);
		return response;
	}
88209
public static vlan[] get_filtered(nitro_service service, String filter) throws Exception{
		vlan obj = new vlan();
		options option = new options();
		option.set_filter(filter);
		vlan[] response = (vlan[]) obj.getfiltered(service, option);
		return response;
	}
627264
def _get_settings(self):
        """"""
        url = self._global_settings_url
        payload = {}
        res = self._send_request('GET', url, payload, 'settings')
        if res and res.status_code in self._resp_ok:
            return res.json()
452499
public static host_interface[] get_filtered(nitro_service service, String filter) throws Exception
	{
		host_interface obj = new host_interface();
		options option = new options();
		option.set_filter(filter);
		host_interface[] response = (host_interface[]) obj.getfiltered(service, option);
		return response;
	}
431141
public static systembackup[] get_filtered(nitro_service service, String filter) throws Exception{
		systembackup obj = new systembackup();
		options option = new options();
		option.set_filter(filter);
		systembackup[] response = (systembackup[]) obj.getfiltered(service, option);
		return response;
	}
1337345
public static systemuser[] get_filtered(nitro_service service, String filter) throws Exception{
		systemuser obj = new systemuser();
		options option = new options();
		option.set_filter(filter);
		systemuser[] response = (systemuser[]) obj.getfiltered(service, option);
		return response;
	}
1002792
public static smtp_server[] get_filtered(nitro_service service, String filter) throws Exception
	{
		smtp_server obj = new smtp_server();
		options option = new options();
		option.set_filter(filter);
		smtp_server[] response = (smtp_server[]) obj.getfiltered(service, option);
		return response;
	}