All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.container.kotlin.outputs.AwsNodePoolUpdateSettingsSurgeSettings.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@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