public OvhSubnet project_serviceName_network_private_networkId_subnet_POST ( String serviceName , String networkId , Boolean dhcp , String end , String network , Boolean noGateway , String region , String start ) throws IOException { String qPath = "/cloud/project/{serviceName}/network/private/{networkId}/subnet" ; StringBuilder sb = path ( qPath , serviceName , networkId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "dhcp" , dhcp ) ; addBody ( o , "end" , end ) ; addBody ( o , "network" , network ) ; addBody ( o , "noGateway" , noGateway ) ; addBody ( o , "region" , region ) ; addBody ( o , "start" , start ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhSubnet . class ) ; }
Create a new network subnet