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