com.pulumi.gcp.cloudrunv2.kotlin.outputs.ServiceTemplateContainerStartupProbeTcpSocket.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.cloudrunv2.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property port Port number to access on the container. Must be in the range 1 to 65535.
* If not specified, defaults to the same value as container.ports[0].containerPort.
*/
public data class ServiceTemplateContainerStartupProbeTcpSocket(
public val port: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.ServiceTemplateContainerStartupProbeTcpSocket): ServiceTemplateContainerStartupProbeTcpSocket =
ServiceTemplateContainerStartupProbeTcpSocket(
port = javaType.port().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy