public static base_responses update ( nitro_service client , snmpgroup resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { snmpgroup updateresources [ ] = new snmpgroup [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new snmpgroup ( ) ; updateresources [ i ] . name = resources [ i ] . name ; updateresources [ i ] . securitylevel = resources [ i ] . securitylevel ; updateresources [ i ] . readviewname = resources [ i ] . readviewname ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
Use this API to update snmpgroup resources .