ContainerPortArgs

data class ContainerPortArgs(val external: Output<Int>? = null, val internal: Output<Int>, val ip: Output<String>? = null, val protocol: Output<String>? = null) : ConvertibleToJava<ContainerPortArgs>

Constructors

Link copied to clipboard
constructor(external: Output<Int>? = null, internal: Output<Int>, ip: Output<String>? = null, protocol: Output<String>? = null)

Properties

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

Port exposed out of the container. If not given a free random port >= 32768 will be used.

Link copied to clipboard
val internal: Output<Int>

Port within the container.

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

IP address/mask that can access this port. Defaults to 0.0.0.0.

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

Protocol that can be used over this port. Defaults to tcp.

Functions

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