public static xen_health_monitor[] get_filtered(nitro_service service, String filter) throws Exception
	{
		xen_health_monitor obj = new xen_health_monitor();
		options option = new options();
		option.set_filter(filter);
		xen_health_monitor[] response = (xen_health_monitor[]) obj.getfiltered(service, option);
		return response;
	}
public static xen_health_monitor [ ] get_filtered ( nitro_service service , String filter ) throws Exception { xen_health_monitor obj = new xen_health_monitor ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; xen_health_monitor [ ] response = ( xen_health_monitor [ ] ) obj . getfiltered ( service , option ) ; return response ; }
Use this API to fetch filtered set of xen_health_monitor resources.
filter string should be in JSON format.eg: "vm_state:DOWN,name:[a-z]+"