ServiceTemplateSpecContainerPortArgs

data class ServiceTemplateSpecContainerPortArgs(val containerPort: Output<Int>? = null, val name: Output<String>? = null, val protocol: Output<String>? = null) : ConvertibleToJava<ServiceTemplateSpecContainerPortArgs>

Constructors

Link copied to clipboard
constructor(containerPort: Output<Int>? = null, name: Output<String>? = null, protocol: Output<String>? = null)

Properties

Link copied to clipboard
val containerPort: Output<Int>? = null

Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".

Link copied to clipboard
val name: Output<String>? = null

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".

Link copied to clipboard
val protocol: Output<String>? = null

Protocol for port. Must be "TCP". Defaults to "TCP".

Functions

Link copied to clipboard
open override fun toJava(): ServiceTemplateSpecContainerPortArgs