UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

21 lines 866 B
import { RouteHttpAction } from '../RouteHttpAction'; import { RouteRule } from '../RouteRule'; import { RouteStatusEnum } from '../RouteStatusEnum'; /** HTTP Route */ export interface RouteHttp { /** Action triggered when all rules match */ action: RouteHttpAction; /** Human readable name for your route, this field is for you */ displayName?: string; /** Route traffic for this frontend */ frontendId?: number; /** Id of your route */ routeId: number; /** List of rules to match to trigger action */ rules: RouteRule[]; /** Route status. Routes in "ok" state are ready to operate */ status: RouteStatusEnum; /** Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will trigger an action */ weight: number; } //# sourceMappingURL=RouteHttp.d.ts.map