UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

17 lines 843 B
import { RouteRuleMatchesEnum } from './RouteRuleMatchesEnum'; /** Match rule to combine to build routes */ export interface RouteRule { /** Name of the field to match like "protocol" or "host". See "/ipLoadbalancing/{serviceName}/route/availableRules" for a list of available rules */ field: string; /** Matching operator. Not all operators are available for all fields. See "/availableRules" */ match: RouteRuleMatchesEnum; /** Invert the matching operator effect */ negate: boolean; /** Value to match against this match. Interpretation if this field depends on the match and field */ pattern?: string; /** Id of your rule */ ruleId: number; /** Name of sub-field, if applicable. This may be a Cookie or Header name for instance */ subField?: string; } //# sourceMappingURL=RouteRule.d.ts.map