![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.appplatform.kotlin.enums.SessionAffinity.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.appplatform.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Type of the affinity, set this to Cookie to enable session affinity.
*/
public enum class SessionAffinity(
public val javaValue: com.pulumi.azurenative.appplatform.enums.SessionAffinity,
) : ConvertibleToJava {
Cookie(com.pulumi.azurenative.appplatform.enums.SessionAffinity.Cookie),
None(com.pulumi.azurenative.appplatform.enums.SessionAffinity.None),
;
override fun toJava(): com.pulumi.azurenative.appplatform.enums.SessionAffinity = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.appplatform.enums.SessionAffinity): SessionAffinity = SessionAffinity.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy