public sealed class TcpRoute.Types.RouteMatch : IMessage<TcpRoute.Types.RouteMatch>, IEquatable<TcpRoute.Types.RouteMatch>, IDeepCloneable<TcpRoute.Types.RouteMatch>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class TcpRoute.Types.RouteMatch.
RouteMatch defines the predicate used to match requests to a given action.
Multiple match types are "OR"ed for evaluation.
If no routeMatch field is specified, this rule will unconditionally match
traffic.
Required. Must be specified in the CIDR range format. A CIDR range
consists of an IP Address and a prefix length to construct the subnet
mask. By default, the prefix length is 32 (i.e. matches a single IP
address). Only IPV4 addresses are supported. Examples: "10.0.0.1" -
matches against this exact IP address. "10.0.0.0/8" - matches against any
IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0"
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eTcpRoute.Types.RouteMatch\u003c/code\u003e class in the Network Services v1 API defines criteria for matching requests to specific actions.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling and data comparison.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRouteMatch\u003c/code\u003e objects can be constructed using default parameters or by copying properties from another \u003ccode\u003eRouteMatch\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties for \u003ccode\u003eAddress\u003c/code\u003e and \u003ccode\u003ePort\u003c/code\u003e, which are used to specify the destination IP address (in CIDR format) and port number for matching, with the address supporting IPv4.\u003c/p\u003e\n"],["\u003cp\u003eIf no \u003ccode\u003erouteMatch\u003c/code\u003e is specified, it will match any traffic.\u003c/p\u003e\n"]]],[],null,[]]