/** Use this API to fetch appflowpolicy_lbvserver_binding resources of given name . */ public static appflowpolicy_lbvserver_binding[] get(nitro_service service, String name) throws Exception { appflowpolicy_lbvserver_binding obj = new appflowpolicy_lbvserver_binding(); obj.set_name(name); appflowpolicy_lbvserver_binding response[] = (appflowpolicy_lbvserver_binding[]) obj.get_resources(service); return response; }
/** * Use this API to fetch filtered set of appflowpolicy_lbvserver_binding resources. set the filter * parameter values in filtervalue object. */ public static appflowpolicy_lbvserver_binding[] get_filtered( nitro_service service, String name, filtervalue[] filter) throws Exception { appflowpolicy_lbvserver_binding obj = new appflowpolicy_lbvserver_binding(); obj.set_name(name); options option = new options(); option.set_filter(filter); appflowpolicy_lbvserver_binding[] response = (appflowpolicy_lbvserver_binding[]) obj.getfiltered(service, option); return response; }
/** Use this API to count appflowpolicy_lbvserver_binding resources configued on NetScaler. */ public static long count(nitro_service service, String name) throws Exception { appflowpolicy_lbvserver_binding obj = new appflowpolicy_lbvserver_binding(); obj.set_name(name); options option = new options(); option.set_count(true); appflowpolicy_lbvserver_binding response[] = (appflowpolicy_lbvserver_binding[]) obj.get_resources(service, option); if (response != null) { return response[0].__count; } return 0; }
/** * Use this API to count the filtered set of appflowpolicy_lbvserver_binding resources. set the * filter parameter values in filtervalue object. */ public static long count_filtered(nitro_service service, String name, filtervalue[] filter) throws Exception { appflowpolicy_lbvserver_binding obj = new appflowpolicy_lbvserver_binding(); obj.set_name(name); options option = new options(); option.set_count(true); option.set_filter(filter); appflowpolicy_lbvserver_binding[] response = (appflowpolicy_lbvserver_binding[]) obj.getfiltered(service, option); if (response != null) { return response[0].__count; } return 0; }