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