com.pulumi.digitalocean.kotlin.outputs.KubernetesClusterNodePoolTaint.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property effect How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".
* @property key An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
* @property value An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
*/
public data class KubernetesClusterNodePoolTaint(
public val effect: String,
public val key: String,
public val `value`: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.KubernetesClusterNodePoolTaint): KubernetesClusterNodePoolTaint = KubernetesClusterNodePoolTaint(
effect = javaType.effect(),
key = javaType.key(),
`value` = javaType.`value`(),
)
}
}