UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

19 lines 927 B
import { RouteRuleMatchesEnum } from '../RouteRuleMatchesEnum'; /** Rule of a route */ export interface RouteRule { /** Human readable name for your rule */ displayName?: string; /** Name of the field to match like "protocol" or "host". See "/ipLoadbalancing/{serviceName}/availableRouteRules" for a list of available rules */ field: string; /** Matching operator. Not all operators are available for all fields. See "/ipLoadbalancing/{serviceName}/availableRouteRules" */ 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