com.pulumi.gcp.container.kotlin.outputs.GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSetting.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property blueGreenSettings Settings for blue-green upgrade strategy.
* @property maxSurge The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.
* @property maxUnavailable The maximum number of nodes that can be simultaneously unavailable during the upgrade process.
* @property strategy Update strategy of the node pool.
*/
public data class GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSetting(
public val blueGreenSettings: List,
public val maxSurge: Int,
public val maxUnavailable: Int,
public val strategy: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSetting): GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSetting =
GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSetting(
blueGreenSettings = javaType.blueGreenSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.container.kotlin.outputs.GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSettingBlueGreenSetting.Companion.toKotlin(args0)
})
}),
maxSurge = javaType.maxSurge(),
maxUnavailable = javaType.maxUnavailable(),
strategy = javaType.strategy(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy