ports

@JvmName(name = "svixrmrfmhwifpre")
suspend fun ports(value: Output<List<ServiceTemplateContainerPortArgs>>)
@JvmName(name = "adkcfqiueqiwkgtf")
suspend fun ports(value: List<ServiceTemplateContainerPortArgs>?)

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 Structure is documented below.


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


@JvmName(name = "wesampnjmvpwkrlw")
suspend fun ports(values: List<Output<ServiceTemplateContainerPortArgs>>)
@JvmName(name = "npvewebidecrmayl")
suspend fun ports(vararg values: ServiceTemplateContainerPortArgs)

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 Structure is documented below.


@JvmName(name = "emnsuituwjxdqljr")
suspend fun ports(argument: List<suspend ServiceTemplateContainerPortArgsBuilder.() -> Unit>)
@JvmName(name = "ojjdyyafmcmabkwp")
suspend fun ports(vararg argument: suspend ServiceTemplateContainerPortArgsBuilder.() -> Unit)
@JvmName(name = "jfwsksuyeksrdqqn")
suspend fun ports(argument: suspend ServiceTemplateContainerPortArgsBuilder.() -> 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 Structure is documented below.