com.pulumi.gcp.container.kotlin.outputs.ClusterNodePoolUpgradeSettingsBlueGreenSettings.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.String
import kotlin.Suppress
/**
*
* @property nodePoolSoakDuration Time needed after draining entire blue pool. After this period, blue pool will be cleaned up. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
* @property standardRolloutPolicy Standard policy for the blue-green upgrade. To be specified when strategy is set to BLUE_GREEN. Structure is documented below.
*/
public data class ClusterNodePoolUpgradeSettingsBlueGreenSettings(
public val nodePoolSoakDuration: String? = null,
public val standardRolloutPolicy: ClusterNodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.ClusterNodePoolUpgradeSettingsBlueGreenSettings): ClusterNodePoolUpgradeSettingsBlueGreenSettings =
ClusterNodePoolUpgradeSettingsBlueGreenSettings(
nodePoolSoakDuration = javaType.nodePoolSoakDuration().map({ args0 -> args0 }).orElse(null),
standardRolloutPolicy = javaType.standardRolloutPolicy().let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.ClusterNodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy