UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

39 lines 1.69 kB
import { Ipv4 } from '../../Ipv4'; import { OnMarkedDownEnum } from '../OnMarkedDownEnum'; import { ProxyProtocolVersionEnum } from '../ProxyProtocolVersionEnum'; import { ServerState } from '../ServerState'; import { BackendCustomerServerStatusEnum } from '../BackendCustomerServerStatusEnum'; /** HTTP Farm's Server */ export interface BackendHTTPServer { /** Address of your server */ address: Ipv4; /** farm id */ backendId: number; /** Backup state. Default: 'false' */ backup: boolean; /** Certificate chain. Allow server certificate verification (Avoid man-in-the-middle attacks) */ chain?: string; /** Server cookie value configured for cookie stickiness */ cookie?: string; /** Human readable name for your server, this field is for you */ displayName?: string; /** Set action when backend marked down. (No action if null) */ onMarkedDown?: OnMarkedDownEnum; /** Port attached to your server. Inherited from farm if null */ port?: number; /** Probe state. Default: 'false' */ probe: boolean; /** Disabled if null. Send PROXY protocol header. Requires a compatible server. */ proxyProtocolVersion?: ProxyProtocolVersionEnum; /** Id of your server */ serverId: number; /** Server state */ serverState: ServerState[]; /** SSL ciphering. Probes will also be sent ciphered. Default: 'false' */ ssl: boolean; /** Status attached to your server */ status: BackendCustomerServerStatusEnum; /** Weight value. Defaults to 1. 0 if not used in load balancing. Servers with higher weight get more requests. */ weight?: number; } //# sourceMappingURL=BackendHTTPServer.d.ts.map