public static base_response enable ( nitro_service client , String trapname ) throws Exception { snmpalarm enableresource = new snmpalarm ( ) ; enableresource . trapname = trapname ; return enableresource . perform_operation ( client , "enable" ) ; }
Use this API to enable snmpalarm of given name .