public OvhLoadBalancingTask loadBalancing_serviceName_stickiness_POST ( String serviceName , OvhLoadBalancingStickinessEnum stickiness ) throws IOException { String qPath = "/ip/loadBalancing/{serviceName}/stickiness" ; StringBuilder sb = path ( qPath , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "stickiness" , stickiness ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhLoadBalancingTask . class ) ; }
Set Stickiness type . ipSource will stick clients to a backend by their source ip cookie will stick them by inserting a cookie none is to set no stickiness