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