com.pulumi.gcp.container.kotlin.inputs.NodePoolManagementArgs.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.container.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.NodePoolManagementArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property autoRepair Whether the nodes will be automatically repaired. Enabled by default.
* @property autoUpgrade Whether the nodes will be automatically upgraded. Enabled by default.
*/
public data class NodePoolManagementArgs(
public val autoRepair: Output? = null,
public val autoUpgrade: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.NodePoolManagementArgs =
com.pulumi.gcp.container.inputs.NodePoolManagementArgs.builder()
.autoRepair(autoRepair?.applyValue({ args0 -> args0 }))
.autoUpgrade(autoUpgrade?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NodePoolManagementArgs].
*/
@PulumiTagMarker
public class NodePoolManagementArgsBuilder internal constructor() {
private var autoRepair: Output? = null
private var autoUpgrade: Output? = null
/**
* @param value Whether the nodes will be automatically repaired. Enabled by default.
*/
@JvmName("jadixplmqijunvvw")
public suspend fun autoRepair(`value`: Output) {
this.autoRepair = value
}
/**
* @param value Whether the nodes will be automatically upgraded. Enabled by default.
*/
@JvmName("sfhcvmmnqfhpbrkk")
public suspend fun autoUpgrade(`value`: Output) {
this.autoUpgrade = value
}
/**
* @param value Whether the nodes will be automatically repaired. Enabled by default.
*/
@JvmName("aaccpmngbkaqmwqi")
public suspend fun autoRepair(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.autoRepair = mapped
}
/**
* @param value Whether the nodes will be automatically upgraded. Enabled by default.
*/
@JvmName("jokmthgqeskiomke")
public suspend fun autoUpgrade(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.autoUpgrade = mapped
}
internal fun build(): NodePoolManagementArgs = NodePoolManagementArgs(
autoRepair = autoRepair,
autoUpgrade = autoUpgrade,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy