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