com.pulumi.gcp.container.kotlin.outputs.NodePoolUpgradeSettingsBlueGreenSettings.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 the entire blue pool.
* After this period, the blue pool will be cleaned up.
* @property standardRolloutPolicy Specifies the standard policy settings for blue-green upgrades.
*/
public data class NodePoolUpgradeSettingsBlueGreenSettings(
public val nodePoolSoakDuration: String? = null,
public val standardRolloutPolicy: NodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.NodePoolUpgradeSettingsBlueGreenSettings): NodePoolUpgradeSettingsBlueGreenSettings = NodePoolUpgradeSettingsBlueGreenSettings(
nodePoolSoakDuration = javaType.nodePoolSoakDuration().map({ args0 -> args0 }).orElse(null),
standardRolloutPolicy = javaType.standardRolloutPolicy().let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.NodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy