ports

@JvmName(name = "edevncucxrgtcghu")
suspend fun ports(value: Output<List<ContainerPortArgs>>)
@JvmName(name = "rhhjbxobmonxteop")
suspend fun ports(value: List<ContainerPortArgs>?)

Parameters

value

List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.


@JvmName(name = "noepihqkrjdtbdff")
suspend fun ports(vararg values: Output<ContainerPortArgs>)


@JvmName(name = "mmtmhmbnyjpyprom")
suspend fun ports(values: List<Output<ContainerPortArgs>>)
@JvmName(name = "arllsxrfbwmndbtb")
suspend fun ports(vararg values: ContainerPortArgs)

Parameters

values

List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.


@JvmName(name = "njtjvfcvcfaarsyi")
suspend fun ports(argument: List<suspend ContainerPortArgsBuilder.() -> Unit>)
@JvmName(name = "njokvmskfdquqlsk")
suspend fun ports(vararg argument: suspend ContainerPortArgsBuilder.() -> Unit)
@JvmName(name = "hdiddujvifedloxy")
suspend fun ports(argument: suspend ContainerPortArgsBuilder.() -> Unit)

Parameters

argument

List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.