public OvhTask serviceName_federation_activeDirectory_POST ( String serviceName , String baseDnForGroups , String baseDnForUsers , String description , String domainAlias , String domainName , String ip , String password , String username ) throws IOException { String qPath = "/dedicatedCloud/{serviceName}/federation/activeDirectory" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "baseDnForGroups" , baseDnForGroups ) ; addBody ( o , "baseDnForUsers" , baseDnForUsers ) ; addBody ( o , "description" , description ) ; addBody ( o , "domainAlias" , domainAlias ) ; addBody ( o , "domainName" , domainName ) ; addBody ( o , "ip" , ip ) ; addBody ( o , "password" , password ) ; addBody ( o , "username" , username ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Add a new option user access