ServiceTemplateSpecContainerPort class
Constructors
-
ServiceTemplateSpecContainerPort({Input<
int?> ? containerPort, Input<String?> ? name, Input<String?> ? protocol}) -
Creates a new ServiceTemplateSpecContainerPort.
containerPortPort number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".nameIf specified, used to specify which protocol to use. Allowed values are "http1" (HTTP/1) and "h2c" (HTTP/2 end-to-end). Defaults to "http1".protocolProtocol for port. Must be "TCP". Defaults to "TCP".const -
ServiceTemplateSpecContainerPort.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
containerPort
→ Input<
int?> ? -
Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
If specified, used to specify which protocol to use. Allowed values are "http1" (HTTP/1) and "h2c" (HTTP/2 end-to-end). Defaults to "http1".
final
-
protocol
→ Input<
String?> ? -
Protocol for port. Must be "TCP". 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