@datatr-ux/ovhcloud-types
Version: 
TypeScript types for OVHCloud projects
23 lines • 1.04 kB
TypeScript
import { BalanceTCPEnum } from '../BalanceTCPEnum';
import { BackendProbe } from '../BackendProbe';
import { StickinessTCPEnum } from '../StickinessTCPEnum';
/** TCP Farm */
export interface BackendTcp {
    /** Load balancing algorithm. 'roundrobin' if null */
    balance?: BalanceTCPEnum;
    /** Human readable name for your backend, this field is for you */
    displayName?: string;
    /** Id of your farm */
    farmId: number;
    /** Port attached to your farm. Inherited from frontend if null */
    port?: number;
    /** Probe used to determine if a backend is alive and can handle requests. Defaults to tcp on the same port as the farm */
    probe?: BackendProbe;
    /** Stickiness type. No stickiness if null */
    stickiness?: StickinessTCPEnum;
    /** Internal Load Balancer identifier of the vRack private network attached to your farm, mandatory when your Load Balancer is attached to a vRack */
    vrackNetworkId?: number;
    /** Zone of you farm */
    zone: string;
}
//# sourceMappingURL=BackendTcp.d.ts.map