public ArrayList < OvhTask > serviceName_domainTrust_POST ( String serviceName , String activeDirectoryIP , String dns1 , String dns2 , String domain ) throws IOException { String qPath = "/horizonView/{serviceName}/domainTrust" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "activeDirectoryIP" , activeDirectoryIP ) ; addBody ( o , "dns1" , dns1 ) ; addBody ( o , "dns2" , dns2 ) ; addBody ( o , "domain" , domain ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , t2 ) ; }
Link your Active Directory to your CDI Active Directory