public static base_responses add ( nitro_service client , lbwlm resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { lbwlm addresources [ ] = new lbwlm [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new lbwlm ( ) ; addresources [ i ] . wlmname = resources [ i ] . wlmname ; addresources [ i ] . ipaddress = resources [ i ] . ipaddress ; addresources [ i ] . port = resources [ i ] . port ; addresources [ i ] . lbuid = resources [ i ] . lbuid ; addresources [ i ] . katimeout = resources [ i ] . katimeout ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
Use this API to add lbwlm resources .