ContainerGroupDefinitionContainerPortRangeArgs

data class ContainerGroupDefinitionContainerPortRangeArgs(val fromPort: Output<Int>, val protocol: Output<ContainerGroupDefinitionContainerPortRangeProtocol>, val toPort: Output<Int>) : ConvertibleToJava<ContainerGroupDefinitionContainerPortRangeArgs>

A set of one or more port numbers that can be opened on the container.

Constructors

constructor(fromPort: Output<Int>, protocol: Output<ContainerGroupDefinitionContainerPortRangeProtocol>, toPort: Output<Int>)

Properties

Link copied to clipboard
val fromPort: Output<Int>

A starting value for the range of allowed port numbers.

Link copied to clipboard

Defines the protocol of these ports.

Link copied to clipboard
val toPort: Output<Int>

An ending value for the range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to or greater than FromPort.

Functions

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