com.pulumi.gcp.container.kotlin.outputs.AwsNodePoolUpdateSettingsSurgeSettings.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.Int
import kotlin.Suppress
/**
*
* @property maxSurge Optional. The maximum number of nodes that can be created beyond the current size of the node pool during the update process.
* @property maxUnavailable Optional. The maximum number of nodes that can be simultaneously unavailable during the update process. A node is considered unavailable if its status is not Ready.
*/
public data class AwsNodePoolUpdateSettingsSurgeSettings(
public val maxSurge: Int? = null,
public val maxUnavailable: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.AwsNodePoolUpdateSettingsSurgeSettings): AwsNodePoolUpdateSettingsSurgeSettings = AwsNodePoolUpdateSettingsSurgeSettings(
maxSurge = javaType.maxSurge().map({ args0 -> args0 }).orElse(null),
maxUnavailable = javaType.maxUnavailable().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy