
com.pulumi.azure.containerservice.kotlin.outputs.GetKubernetesClusterAgentPoolProfileUpgradeSetting.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.containerservice.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property drainTimeoutInMinutes The amount of time in minutes to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails.
* @property maxSurge The maximum number or percentage of nodes that will be added to the Node Pool size during an upgrade.
* @property nodeSoakDurationInMinutes The amount of time in minutes to wait after draining a node and before reimaging it and moving on to next node.
*/
public data class GetKubernetesClusterAgentPoolProfileUpgradeSetting(
public val drainTimeoutInMinutes: Int,
public val maxSurge: String,
public val nodeSoakDurationInMinutes: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.GetKubernetesClusterAgentPoolProfileUpgradeSetting): GetKubernetesClusterAgentPoolProfileUpgradeSetting =
GetKubernetesClusterAgentPoolProfileUpgradeSetting(
drainTimeoutInMinutes = javaType.drainTimeoutInMinutes(),
maxSurge = javaType.maxSurge(),
nodeSoakDurationInMinutes = javaType.nodeSoakDurationInMinutes(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy