interface Backend {
    createdAt?: Date;
    failoverHost?: string;
    forwardPort: number;
    forwardPortAlgorithm: ForwardPortAlgorithm;
    forwardProtocol: Protocol;
    healthCheck?: HealthCheck;
    id: string;
    ignoreSslServerVerify?: boolean;
    lb?: Lb;
    maxConnections?: number;
    maxRetries?: number;
    name: string;
    onMarkedDownAction: OnMarkedDownAction;
    pool: string[];
    proxyProtocol: ProxyProtocol;
    redispatchAttemptCount?: number;
    sendProxyV2?: boolean;
    sslBridging?: boolean;
    stickySessions: StickySessionsType;
    stickySessionsCookieName: string;
    timeoutConnect?: string;
    timeoutQueue?: string;
    timeoutServer?: string;
    timeoutTunnel?: string;
    updatedAt?: Date;
}

Properties

createdAt?: Date

Date at which the backend was created.

failoverHost?: string

Scaleway Object Storage bucket website to be served as failover if all backend servers are down, e.g. failover-website.s3-website.fr-par.scw.cloud.

forwardPort: number

Port used by the backend when forwarding traffic to backend servers.

forwardPortAlgorithm: ForwardPortAlgorithm

Load balancing algorithm to use when determining which backend server to forward new traffic to.

forwardProtocol: Protocol

Protocol used by the backend when forwarding traffic to backend servers.

healthCheck?: HealthCheck

Object defining the health check to be carried out by the backend when checking the status and health of backend servers.

id: string

Backend ID.

ignoreSslServerVerify?: boolean

Defines whether the server certificate verification should be ignored.

lb?: Lb

Load Balancer the backend is attached to.

maxConnections?: number

Maximum number of connections allowed per backend server.

maxRetries?: number

Number of retries when a backend server connection failed.

name: string

Name of the backend.

onMarkedDownAction: OnMarkedDownAction

Action to take when a backend server is marked as down.

pool: string[]

List of IP addresses of backend servers attached to this backend.

proxyProtocol: ProxyProtocol

Protocol to use between the Load Balancer and backend servers. Allows the backend servers to be informed of the client's real IP address. The PROXY protocol must be supported by the backend servers' software.

redispatchAttemptCount?: number

Whether to use another backend server on each attempt.

sendProxyV2?: boolean

Deprecated in favor of proxy_protocol field.

sslBridging?: boolean

Defines whether to enable SSL bridging between the Load Balancer and backend servers.

stickySessions: StickySessionsType

Defines whether sticky sessions (binding a particular session to a particular backend server) are activated and the method to use if so. None disables sticky sessions. Cookie-based uses an HTTP cookie to stick a session to a backend server. Table-based uses the source (client) IP address to stick a session to a backend server.

stickySessionsCookieName: string

Cookie name for cookie-based sticky sessions.

timeoutConnect?: string

Maximum allowed time for establishing a connection to a backend server.

timeoutQueue?: string

Maximum time for a request to be left pending in queue when max_connections is reached.

timeoutServer?: string

Maximum allowed time for a backend server to process a request.

timeoutTunnel?: string

Maximum allowed tunnel inactivity time after Websocket is established (takes precedence over client and server timeout).

updatedAt?: Date

Date at which the backend was updated.