![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.app.kotlin.inputs.SessionIngressArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.app.kotlin.inputs
import com.pulumi.azurenative.app.inputs.SessionIngressArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Session pool ingress configuration.
* @property targetPort Target port in containers for traffic from ingress
*/
public data class SessionIngressArgs(
public val targetPort: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.app.inputs.SessionIngressArgs =
com.pulumi.azurenative.app.inputs.SessionIngressArgs.builder()
.targetPort(targetPort?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SessionIngressArgs].
*/
@PulumiTagMarker
public class SessionIngressArgsBuilder internal constructor() {
private var targetPort: Output? = null
/**
* @param value Target port in containers for traffic from ingress
*/
@JvmName("npvuocmwtxrmkspq")
public suspend fun targetPort(`value`: Output) {
this.targetPort = value
}
/**
* @param value Target port in containers for traffic from ingress
*/
@JvmName("xkksdwhxdqaokpun")
public suspend fun targetPort(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.targetPort = mapped
}
internal fun build(): SessionIngressArgs = SessionIngressArgs(
targetPort = targetPort,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy