com.pulumi.googlenative.container.v1.kotlin.enums.UpgradeSettingsStrategy.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.container.v1.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Update strategy of the node pool.
*/
public enum class UpgradeSettingsStrategy(
public val javaValue: com.pulumi.googlenative.container.v1.enums.UpgradeSettingsStrategy,
) : ConvertibleToJava {
/**
* Default value if unset. GKE internally defaults the update strategy to SURGE for unspecified strategies.
*/
NodePoolUpdateStrategyUnspecified(com.pulumi.googlenative.container.v1.enums.UpgradeSettingsStrategy.NodePoolUpdateStrategyUnspecified),
/**
* blue-green upgrade.
*/
BlueGreen(com.pulumi.googlenative.container.v1.enums.UpgradeSettingsStrategy.BlueGreen),
/**
* SURGE is the traditional way of upgrade a node pool. max_surge and max_unavailable determines the level of upgrade parallelism.
*/
Surge(com.pulumi.googlenative.container.v1.enums.UpgradeSettingsStrategy.Surge),
;
override fun toJava(): com.pulumi.googlenative.container.v1.enums.UpgradeSettingsStrategy =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.container.v1.enums.UpgradeSettingsStrategy): UpgradeSettingsStrategy =
UpgradeSettingsStrategy.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy