ContainerPort class

Constructors

ContainerPort({Input<int?>? external, required Input<int> internal, Input<String?>? ip, Input<String?>? protocol})
Creates a new ContainerPort. external Port exposed out of the container. If not given a free random port &gt;= 32768 will be used. internal Port within the container. ip IP address/mask that can access this port. Defaults to 0.0.0.0. protocol Protocol that can be used over this port. Defaults to tcp.
const
ContainerPort.fromMap(Map<String, dynamic> map)
factory

Properties

external → Input<int?>?
Port exposed out of the container. If not given a free random port &gt;= 32768 will be used.
final
hashCode → int
The hash code for this object.
no setterinherited
internal → Input<int>
Port within the container.
final
ip → Input<String?>?
IP address/mask that can access this port. Defaults to 0.0.0.0.
final
protocol → Input<String?>?
Protocol that can be used over this port. Defaults to tcp.
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