public ArrayList < OvhInstance > project_serviceName_instance_bulk_POST ( String serviceName , String flavorId , String groupId , String imageId , Boolean monthlyBilling , String name , OvhNetworkBulkParams [ ] networks , Long number , String region , String sshKeyId , String userData , String volumeId ) throws IOException { String qPath = "/cloud/project/{serviceName}/instance/bulk" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "flavorId" , flavorId ) ; addBody ( o , "groupId" , groupId ) ; addBody ( o , "imageId" , imageId ) ; addBody ( o , "monthlyBilling" , monthlyBilling ) ; addBody ( o , "name" , name ) ; addBody ( o , "networks" , networks ) ; addBody ( o , "number" , number ) ; addBody ( o , "region" , region ) ; addBody ( o , "sshKeyId" , sshKeyId ) ; addBody ( o , "userData" , userData ) ; addBody ( o , "volumeId" , volumeId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , t21 ) ; }
Create multiple instances