com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterStatus.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
import kotlin.collections.List
/**
*
* @property conditions (Output)
* ResourceConditions provide a standard mechanism for higher-level status reporting from user cluster controller.
* Structure is documented below.
* @property errorMessage (Output)
* Human-friendly representation of the error message from the user cluster
* controller. The error message can be temporary as the user cluster
* controller creates a cluster or node pool. If the error message persists
* for a longer period of time, it can be used to surface error message to
* indicate real problems requiring user intervention.
*/
public data class BareMetalClusterStatus(
public val conditions: List? = null,
public val errorMessage: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.BareMetalClusterStatus): BareMetalClusterStatus = BareMetalClusterStatus(
conditions = javaType.conditions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterStatusCondition.Companion.toKotlin(args0)
})
}),
errorMessage = javaType.errorMessage().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy