
com.pulumi.gcp.container.kotlin.outputs.NodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.container.kotlin.outputs
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property batchNodeCount Number of blue nodes to drain in a batch.
* @property batchPercentage Percentage of the blue pool nodes to drain in a batch.
* @property batchSoakDuration Soak time after each batch gets drained.
*/
public data class NodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy(
public val batchNodeCount: Int? = null,
public val batchPercentage: Double? = null,
public val batchSoakDuration: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.NodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy): NodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy =
NodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy(
batchNodeCount = javaType.batchNodeCount().map({ args0 -> args0 }).orElse(null),
batchPercentage = javaType.batchPercentage().map({ args0 -> args0 }).orElse(null),
batchSoakDuration = javaType.batchSoakDuration().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy