@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
21 lines • 860 B
TypeScript
import { RouteTcpAction } from '../RouteTcpAction';
import { RouteRule } from '../RouteRule';
import { RouteStatusEnum } from '../RouteStatusEnum';
/** TCP Route */
export interface RouteTcp {
/** Action triggered when all rules match */
action: RouteTcpAction;
/** 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=RouteTcp.d.ts.map