NetworkBinding class
Details on the network bindings between a container and its host container
instance. After a task reaches the RUNNING
status, manual and
automatic host and container port assignments are visible in the
networkBindings
section of DescribeTasks API responses.
Constructors
- NetworkBinding.new({String? bindIP, int? containerPort, int? hostPort, TransportProtocol? protocol})
-
NetworkBinding.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bindIP → String?
-
The IP address that the container is bound to on the container instance.
final
- containerPort → int?
-
The port number on the container that is used with the network binding.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hostPort → int?
-
The port number on the host that is used with the network binding.
final
- protocol → TransportProtocol?
-
The protocol used for the network binding.
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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited