public OvhNetwork project_serviceName_network_private_POST ( String serviceName , String name , String [ ] regions , Long vlanId ) throws IOException { String qPath = "/cloud/project/{serviceName}/network/private" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "name" , name ) ; addBody ( o , "regions" , regions ) ; addBody ( o , "vlanId" , vlanId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhNetwork . class ) ; }
Create a new network