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