GetServiceTemplateSpecContainerPort class
Constructors
-
GetServiceTemplateSpecContainerPort({required Input<
int> containerPort, required Input<String> name, required Input<String> protocol}) -
Creates a new GetServiceTemplateSpecContainerPort.
containerPortPort number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".nameName must be unique within a Google Cloud project and region.protocolProtocol for port. Must be "TCP". Defaults to "TCP".const -
GetServiceTemplateSpecContainerPort.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> -
Name must be unique within a Google Cloud project and region.
Is required when creating resources. Name is primarily intended
for creation idempotence and configuration definition. Cannot be updated.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
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