public static long count ( nitro_service service , String id ) throws Exception { linkset_interface_binding obj = new linkset_interface_binding ( ) ; obj . set_id ( id ) ; options option = new options ( ) ; option . set_count ( true ) ; linkset_interface_binding response [ ] = ( linkset_interface_binding [ ] ) obj . get_resources ( service , option ) ; if ( response != null ) { return response [ 0 ] . __count ; } return 0 ; }
Use this API to count linkset_interface_binding resources configued on NetScaler .