com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalNodePoolStatusCondition.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.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 Human-readable message indicating details about last transition.
* @property reason Machine-readable message indicating details about last transition.
* @property state (Output)
* The lifecycle state of the condition.
* @property type Type of the condition.
* (e.g., ClusterRunning, NodePoolRunning or ServerSidePreflightReady)
*/
public data class BareMetalNodePoolStatusCondition(
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.BareMetalNodePoolStatusCondition): BareMetalNodePoolStatusCondition = BareMetalNodePoolStatusCondition(
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