public static snmptrap [ ] get ( nitro_service service ) throws Exception { snmptrap obj = new snmptrap ( ) ; snmptrap [ ] response = ( snmptrap [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the snmptrap resources that are configured on netscaler .