com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplateSpecContainerPort.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.cloudrun.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property containerPort Port number the container listens on. This must be a valid port number (between 1 and 65535). Defaults to "8080".
* @property name The name of the Cloud Run Service.
* @property protocol Protocol for port. Must be "TCP". Defaults to "TCP".
*/
public data class GetServiceTemplateSpecContainerPort(
public val containerPort: Int,
public val name: String,
public val protocol: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.GetServiceTemplateSpecContainerPort): GetServiceTemplateSpecContainerPort = GetServiceTemplateSpecContainerPort(
containerPort = javaType.containerPort(),
name = javaType.name(),
protocol = javaType.protocol(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy