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