src/Api/Haip.php
public function addPortConfiguration($haipName, $name, $sourcePort, $targetPort, $mode, $endpointSslMode)
    {
        $this->call(
            self::SERVICE,
            'addPortConfiguration',
            [$haipName, $name, $sourcePort, $targetPort, $mode, $endpointSslMode]
        );
    }
public function addPortConfiguration($haipName, $name, $sourcePort, $targetPort, $mode, $endpointSslMode)
    {
        $this->call(
            self::SERVICE,
            'addPortConfiguration',
            [$haipName, $name, $sourcePort, $targetPort, $mode, $endpointSslMode]
        );
    }
Add port configuration to the HA-IP.

@param string $haipName        The HA-IP name
@param string $name            The name describing the port configuration
@param int    $sourcePort      The port that is addressed on the HA-IP
@param int    $targetPort      The port that is addressed on the VPS
@param string $mode            ('tcp', 'http', 'https', 'proxy')
@param string $endpointSslMode ('off, 'on' strict')

@throws \SoapFault

@return mixed