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