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

com.pulumi.googlenative.tpu.v2.kotlin.enums.NodeHealth.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.tpu.v2.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * The health status of the TPU node.
 */
public enum class NodeHealth(
    public val javaValue: com.pulumi.googlenative.tpu.v2.enums.NodeHealth,
) : ConvertibleToJava {
    /**
     * Health status is unknown: not initialized or failed to retrieve.
     */
    HealthUnspecified(com.pulumi.googlenative.tpu.v2.enums.NodeHealth.HealthUnspecified),

    /**
     * The resource is healthy.
     */
    Healthy(com.pulumi.googlenative.tpu.v2.enums.NodeHealth.Healthy),

    /**
     * The resource is unresponsive.
     */
    Timeout(com.pulumi.googlenative.tpu.v2.enums.NodeHealth.Timeout),

    /**
     * The in-guest ML stack is unhealthy.
     */
    UnhealthyTensorflow(com.pulumi.googlenative.tpu.v2.enums.NodeHealth.UnhealthyTensorflow),

    /**
     * The node is under maintenance/priority boost caused rescheduling and will resume running once rescheduled.
     */
    UnhealthyMaintenance(com.pulumi.googlenative.tpu.v2.enums.NodeHealth.UnhealthyMaintenance),
    ;

    override fun toJava(): com.pulumi.googlenative.tpu.v2.enums.NodeHealth = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.tpu.v2.enums.NodeHealth): NodeHealth =
            NodeHealth.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy