
com.pulumi.azure.appplatform.kotlin.outputs.SpringCloudAppIngressSettings.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.appplatform.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property backendProtocol Specifies how ingress should communicate with this app backend service. Allowed values are `GRPC` and `Default`. Defaults to `Default`.
* @property readTimeoutInSeconds Specifies the ingress read time out in seconds. Defaults to `300`.
* @property sendTimeoutInSeconds Specifies the ingress send time out in seconds. Defaults to `60`.
* @property sessionAffinity Specifies the type of the affinity, set this to `Cookie` to enable session affinity. Allowed values are `Cookie` and `None`. Defaults to `None`.
* @property sessionCookieMaxAge Specifies the time in seconds until the cookie expires.
*/
public data class SpringCloudAppIngressSettings(
public val backendProtocol: String? = null,
public val readTimeoutInSeconds: Int? = null,
public val sendTimeoutInSeconds: Int? = null,
public val sessionAffinity: String? = null,
public val sessionCookieMaxAge: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.appplatform.outputs.SpringCloudAppIngressSettings): SpringCloudAppIngressSettings = SpringCloudAppIngressSettings(
backendProtocol = javaType.backendProtocol().map({ args0 -> args0 }).orElse(null),
readTimeoutInSeconds = javaType.readTimeoutInSeconds().map({ args0 -> args0 }).orElse(null),
sendTimeoutInSeconds = javaType.sendTimeoutInSeconds().map({ args0 -> args0 }).orElse(null),
sessionAffinity = javaType.sessionAffinity().map({ args0 -> args0 }).orElse(null),
sessionCookieMaxAge = javaType.sessionCookieMaxAge().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy