public OvhLoadBalancingTask loadBalancing_serviceName_backend_POST ( String serviceName , String ipBackend , OvhLoadBalancingBackendProbeEnum probe , Long weight ) throws IOException { String qPath = "/ip/loadBalancing/{serviceName}/backend" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "ipBackend" , ipBackend ) ; addBody ( o , "probe" , probe ) ; addBody ( o , "weight" , weight ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhLoadBalancingTask . class ) ; }
Add a new backend on your IP load balancing