All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.appengine.kotlin.outputs.FlexibleAppVersionLivenessCheck.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.appengine.kotlin.outputs

import kotlin.Double
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property checkInterval Interval between health checks.
 * @property failureThreshold Number of consecutive failed checks required before considering the VM unhealthy. Default: 4.
 * @property host Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
 * @property initialDelay The initial delay before starting to execute the checks. Default: "300s"
 * - - -
 * @property path The request path.
 * @property successThreshold Number of consecutive successful checks required before considering the VM healthy. Default: 2.
 * @property timeout Time before the check is considered failed. Default: "4s"
 */
public data class FlexibleAppVersionLivenessCheck(
    public val checkInterval: String? = null,
    public val failureThreshold: Double? = null,
    public val host: String? = null,
    public val initialDelay: String? = null,
    public val path: String,
    public val successThreshold: Double? = null,
    public val timeout: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.appengine.outputs.FlexibleAppVersionLivenessCheck): FlexibleAppVersionLivenessCheck = FlexibleAppVersionLivenessCheck(
            checkInterval = javaType.checkInterval().map({ args0 -> args0 }).orElse(null),
            failureThreshold = javaType.failureThreshold().map({ args0 -> args0 }).orElse(null),
            host = javaType.host().map({ args0 -> args0 }).orElse(null),
            initialDelay = javaType.initialDelay().map({ args0 -> args0 }).orElse(null),
            path = javaType.path(),
            successThreshold = javaType.successThreshold().map({ args0 -> args0 }).orElse(null),
            timeout = javaType.timeout().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy