public OvhTask serviceName_domainTrust_domainTrustId_addChildDomain_POST ( String serviceName , Long domainTrustId , String activeDirectoryIP , String domain , String passphrase , String serviceAccountPassword ) throws IOException { String qPath = "/horizonView/{serviceName}/domainTrust/{domainTrustId}/addChildDomain" ; StringBuilder sb = path ( qPath , serviceName , domainTrustId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "activeDirectoryIP" , activeDirectoryIP ) ; addBody ( o , "domain" , domain ) ; addBody ( o , "passphrase" , passphrase ) ; addBody ( o , "serviceAccountPassword" , serviceAccountPassword ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Add a child domain for this domain .