Instance state type
Headers type
Params type
OptionalenabledEnable/disable for matched routes
OptionalendsPath must end with this suffix
OptionalincludesPath must contain this substring
OptionalisExact path match
OptionalmatchPath must match this regular expression
OptionalmethodsHTTP methods this rule applies to
OptionalserializerCustom serializer for this rule's key generation
OptionalstartsPath must start with this prefix
Base interface for all policy rules.
Extends MatchTypes for route matching and provides common fields shared across all resilience policies (dedupe, cache, rate-limit, retry).