TcpRouteRouteAction class
The specifications for routing traffic and applying associated policies.
Constructors
-
TcpRouteRouteAction({Input<
List< ? destinations, Input<TcpRouteRouteDestination> >bool> ? originalDestination}) -
Creates a new TcpRouteRouteAction.
destinationsOptional. The destination services to which traffic should be forwarded. At least one destination service is required. Only one of route destination or original destination can be set.originalDestinationOptional. If true, Router will use the destination IP and port of the original connection as the destination of the request. Default is false. Only one of route destinations or original destination can be set.const -
TcpRouteRouteAction.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
destinations
→ Input<
List< ?TcpRouteRouteDestination> > -
Optional. The destination services to which traffic should be forwarded. At least one destination service is required. Only one of route destination or original destination can be set.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
originalDestination
→ Input<
bool> ? -
Optional. If true, Router will use the destination IP and port of the original connection as the destination of the request. Default is false. Only one of route destinations or original destination can be set.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited