ports

@JvmName(name = "ubtanfnmldatdmuw")
suspend fun ports(value: Output<List<GoogleCloudRunV2ContainerPortArgs>>)
@JvmName(name = "dvrfeuyuqgdmnwlq")
suspend fun ports(value: List<GoogleCloudRunV2ContainerPortArgs>?)

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 = "jarwpwxfobasnaox")
suspend fun ports(vararg values: Output<GoogleCloudRunV2ContainerPortArgs>)


@JvmName(name = "dpykevvsqrpwxigf")
suspend fun ports(values: List<Output<GoogleCloudRunV2ContainerPortArgs>>)
@JvmName(name = "aatogubjhlcnqmtx")
suspend fun ports(vararg values: GoogleCloudRunV2ContainerPortArgs)

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 = "ehgwswdwmrolhavo")
suspend fun ports(argument: List<suspend GoogleCloudRunV2ContainerPortArgsBuilder.() -> Unit>)
@JvmName(name = "kwyhuohvjnygxkoe")
suspend fun ports(vararg argument: suspend GoogleCloudRunV2ContainerPortArgsBuilder.() -> Unit)
@JvmName(name = "pseedkapehsshvga")
suspend fun ports(argument: suspend GoogleCloudRunV2ContainerPortArgsBuilder.() -> 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.