src/Api/Haip.php
public function setBalancingMode($haipName, $balancingMode, $cookieName = '')
    {
        return $this->call(self::SERVICE, 'setBalancingMode', [$haipName, $balancingMode, $cookieName]);
    }
public function setBalancingMode($haipName, $balancingMode, $cookieName = '')
    {
        return $this->call(self::SERVICE, 'setBalancingMode', [$haipName, $balancingMode, $cookieName]);
    }
Sets the provided balancing mode for the HA-IP.

The cookie name is expected to be an empty string unless the balancing mode is set to 'cookie'.

HA-IP Pro feature.

@param string $haipName      The HA-IP name
@param string $balancingMode ('roundrobin', 'cookie', 'source')
@param string $cookieName    The cookie name that pins the session if the balancing mode is 'cookie'

@throws \SoapFault

@return mixed