public OvhTask serviceName_restoreSnapshot_POST ( String serviceName , net . minidev . ovh . api . hosting . web . backup . OvhTypeEnum backup ) throws IOException { String qPath = "/hosting/web/{serviceName}/restoreSnapshot" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "backup" , backup ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Restore this snapshot ALL CURRENT DATA WILL BE REPLACED BY YOUR SNAPSHOT