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