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