@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
23 lines • 1.04 kB
TypeScript
import { BalanceHTTPEnum } from '../BalanceHTTPEnum';
import { BackendProbe } from '../BackendProbe';
import { StickinessHTTPEnum } from '../StickinessHTTPEnum';
/** HTTP Farm */
export interface BackendHttp {
/** Load balancing algorithm. 'roundrobin' if null */
balance?: BalanceHTTPEnum;
/** 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?: StickinessHTTPEnum;
/** 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=BackendHttp.d.ts.map