public OvhTask serviceName_partition_POST ( String serviceName , String partitionName , OvhProtocolEnum protocol , Long size ) throws IOException { String qPath = "/dedicated/nas/{serviceName}/partition" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "partitionName" , partitionName ) ; addBody ( o , "protocol" , protocol ) ; addBody ( o , "size" , size ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Create a new partition