code: 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);
  	}
docs: Link your Active Directory to your CDI Active Directory
  
  REST: POST /horizonView/{serviceName}/domainTrust
  @param activeDirectoryIP [required] IP of your Active Directory
  @param domain [required] Domain of your active directory (for example domain.local)
  @param dns2 [required] IP of your second DNS
  @param dns1 [required] IP of your first DNS
  @param serviceName [required] Domain of the service