VirtualNodeSpec class
An object that represents the specification of a virtual node.
Constructors
-
VirtualNodeSpec({BackendDefaults? backendDefaults, List<
Backend> ? backends, List<Listener> ? listeners, Logging? logging, ServiceDiscovery? serviceDiscovery}) -
VirtualNodeSpec.fromJson(Map<
String, dynamic> json) -
factory
Properties
- backendDefaults → BackendDefaults?
-
A reference to an object that represents the defaults for backends.
final
-
backends
→ List<
Backend> ? -
The backends that the virtual node is expected to send outbound traffic to.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
listeners
→ List<
Listener> ? -
The listener that the virtual node is expected to receive inbound traffic
from. You can specify one listener.
final
- logging → Logging?
-
The inbound and outbound access logging information for the virtual node.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceDiscovery → ServiceDiscovery?
-
The service discovery information for the virtual node. If your virtual node
does not expect ingress traffic, you can omit this parameter. If you specify
a
listener
, then you must specify service discovery information.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited