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

com.pulumi.gcp.gkeonprem.kotlin.outputs.VMwareNodePoolStatusCondition.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.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.gkeonprem.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property lastTransitionTime (Output)
 * Last time the condition transit from one status to another.
 * @property message (Output)
 * Human-readable message indicating details about last transition.
 * @property reason (Output)
 * Machine-readable message indicating details about last transition.
 * @property state (Output)
 * The lifecycle state of the condition.
 * @property type (Output)
 * Type of the condition.
 * (e.g., ClusterRunning, NodePoolRunning or ServerSidePreflightReady)
 */
public data class VMwareNodePoolStatusCondition(
    public val lastTransitionTime: String? = null,
    public val message: String? = null,
    public val reason: String? = null,
    public val state: String? = null,
    public val type: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.VMwareNodePoolStatusCondition): VMwareNodePoolStatusCondition = VMwareNodePoolStatusCondition(
            lastTransitionTime = javaType.lastTransitionTime().map({ args0 -> args0 }).orElse(null),
            message = javaType.message().map({ args0 -> args0 }).orElse(null),
            reason = javaType.reason().map({ args0 -> args0 }).orElse(null),
            state = javaType.state().map({ args0 -> args0 }).orElse(null),
            type = javaType.type().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy