com.pulumi.gcp.container.kotlin.inputs.ClusterClusterAutoscalingAutoProvisioningDefaultsManagementArgs.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.ClusterClusterAutoscalingAutoProvisioningDefaultsManagementArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property autoRepair Specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.
* This block also contains several computed attributes, documented below.
* @property autoUpgrade Specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.
* @property upgradeOptions Specifies the [Auto Upgrade knobs](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/NodeManagement#AutoUpgradeOptions) for the node pool.
*/
public data class ClusterClusterAutoscalingAutoProvisioningDefaultsManagementArgs(
public val autoRepair: Output? = null,
public val autoUpgrade: Output? = null,
public val upgradeOptions: Output>? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.ClusterClusterAutoscalingAutoProvisioningDefaultsManagementArgs =
com.pulumi.gcp.container.inputs.ClusterClusterAutoscalingAutoProvisioningDefaultsManagementArgs.builder()
.autoRepair(autoRepair?.applyValue({ args0 -> args0 }))
.autoUpgrade(autoUpgrade?.applyValue({ args0 -> args0 }))
.upgradeOptions(
upgradeOptions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ClusterClusterAutoscalingAutoProvisioningDefaultsManagementArgs].
*/
@PulumiTagMarker
public class ClusterClusterAutoscalingAutoProvisioningDefaultsManagementArgsBuilder internal constructor() {
private var autoRepair: Output? = null
private var autoUpgrade: Output? = null
private var upgradeOptions:
Output>? =
null
/**
* @param value Specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.
* This block also contains several computed attributes, documented below.
*/
@JvmName("atbfqqdofqonkgni")
public suspend fun autoRepair(`value`: Output) {
this.autoRepair = value
}
/**
* @param value Specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.
*/
@JvmName("pabljalhhhdlhdyu")
public suspend fun autoUpgrade(`value`: Output) {
this.autoUpgrade = value
}
/**
* @param value Specifies the [Auto Upgrade knobs](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/NodeManagement#AutoUpgradeOptions) for the node pool.
*/
@JvmName("yalwvyhgqepreugm")
public suspend fun upgradeOptions(`value`: Output>) {
this.upgradeOptions = value
}
@JvmName("jxvjfmpuvmmhgauj")
public suspend fun upgradeOptions(vararg values: Output) {
this.upgradeOptions = Output.all(values.asList())
}
/**
* @param values Specifies the [Auto Upgrade knobs](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/NodeManagement#AutoUpgradeOptions) for the node pool.
*/
@JvmName("qoifyvivxmhdwuxv")
public suspend fun upgradeOptions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy