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