public OvhTask serviceName_database_POST ( String serviceName , OvhDatabaseCapabilitiesTypeEnum capabilitie , String password , OvhExtraSqlQuotaEnum quota , OvhDatabaseTypeEnum type , String user , OvhVersionEnum version ) throws IOException { String qPath = "/hosting/web/{serviceName}/database" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "capabilitie" , capabilitie ) ; addBody ( o , "password" , password ) ; addBody ( o , "quota" , quota ) ; addBody ( o , "type" , type ) ; addBody ( o , "user" , user ) ; addBody ( o , "version" , version ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Install new database