ports

@JvmName(name = "qyluotwgegxmcyvs")
suspend fun ports(value: Output<List<ContainerPortArgs>>)
@JvmName(name = "ppqoocxcvodjdxdb")
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 = "tjhgtshsgoxgnnsl")
suspend fun ports(vararg values: Output<ContainerPortArgs>)


@JvmName(name = "hhisfwsfrhgqbqmv")
suspend fun ports(values: List<Output<ContainerPortArgs>>)
@JvmName(name = "kdwfvsfnvtgarpxv")
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 = "etgrwtrghlflssra")
suspend fun ports(argument: List<suspend ContainerPortArgsBuilder.() -> Unit>)
@JvmName(name = "ybdwwkfaiprdmgtj")
suspend fun ports(vararg argument: suspend ContainerPortArgsBuilder.() -> Unit)
@JvmName(name = "tusybfqhpxnuxjhb")
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.