public OvhOpenTSDBToken serviceName_token_opentsdb_POST ( String serviceName , String description , String permission , OvhTag [ ] tags ) throws IOException { String qPath = "/dbaas/timeseries/{serviceName}/token/opentsdb" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "description" , description ) ; addBody ( o , "permission" , permission ) ; addBody ( o , "tags" , tags ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOpenTSDBToken . class ) ; }
Create a OpenTSDB token