com.pulumi.gcp.container.kotlin.outputs.ClusterClusterAutoscalingAutoProvisioningDefaultsManagement.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.outputs
import kotlin.Boolean
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 ClusterClusterAutoscalingAutoProvisioningDefaultsManagement(
public val autoRepair: Boolean? = null,
public val autoUpgrade: Boolean? = null,
public val upgradeOptions: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.ClusterClusterAutoscalingAutoProvisioningDefaultsManagement): ClusterClusterAutoscalingAutoProvisioningDefaultsManagement =
ClusterClusterAutoscalingAutoProvisioningDefaultsManagement(
autoRepair = javaType.autoRepair().map({ args0 -> args0 }).orElse(null),
autoUpgrade = javaType.autoUpgrade().map({ args0 -> args0 }).orElse(null),
upgradeOptions = javaType.upgradeOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.ClusterClusterAutoscalingAutoProvisioningDefaultsManagementUpgradeOption.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy