EndpointPortPatch class
EndpointPort is a tuple that describes a single port. Deprecated: This API is deprecated in v1.33+.
Constructors
-
EndpointPortPatch({Input<
String> ? appProtocol, Input<String> ? name, Input<int> ? port, Input<String> ? protocol}) -
Creates a new EndpointPortPatch.
appProtocolThe application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:nameThe name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.portThe port number of the endpoint.protocolThe IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.const -
EndpointPortPatch.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
appProtocol
→ Input<
String> ? -
The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> ? -
The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.
final
-
port
→ Input<
int> ? -
The port number of the endpoint.
final
-
protocol
→ Input<
String> ? -
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is 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