PortArgs

data class PortArgs(val port: Output<Int>, val protocol: Output<Either<String, ContainerGroupNetworkProtocol>>? = null) : ConvertibleToJava<PortArgs>

The port exposed on the container group.

Constructors

Link copied to clipboard
constructor(port: Output<Int>, protocol: Output<Either<String, ContainerGroupNetworkProtocol>>? = null)

Properties

Link copied to clipboard
val port: Output<Int>

The port number.

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

The protocol associated with the port.

Functions

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