GoogleCloudRunV2ContainerPortArgs

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

ContainerPort represents a network port in a single container.

Constructors

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

Functions

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

Properties

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

Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.

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

If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".