
com.pulumi.googlenative.appengine.v1beta.kotlin.outputs.LivenessCheckResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.appengine.v1beta.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
* @property checkInterval Interval between health checks.
* @property failureThreshold Number of consecutive failed checks required before considering the VM unhealthy.
* @property host Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
* @property initialDelay The initial delay before starting to execute the checks.
* @property path The request path.
* @property successThreshold Number of consecutive successful checks required before considering the VM healthy.
* @property timeout Time before the check is considered failed.
*/
public data class LivenessCheckResponse(
public val checkInterval: String,
public val failureThreshold: Int,
public val host: String,
public val initialDelay: String,
public val path: String,
public val successThreshold: Int,
public val timeout: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.appengine.v1beta.outputs.LivenessCheckResponse): LivenessCheckResponse = LivenessCheckResponse(
checkInterval = javaType.checkInterval(),
failureThreshold = javaType.failureThreshold(),
host = javaType.host(),
initialDelay = javaType.initialDelay(),
path = javaType.path(),
successThreshold = javaType.successThreshold(),
timeout = javaType.timeout(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy