AgentPoolUpgradeSettingsArgs

data class AgentPoolUpgradeSettingsArgs(val drainTimeout: Output<Double>? = null, val maxSurge: Output<String>? = null, val maxUnavailable: Output<String>? = null) : ConvertibleToJava<AgentPoolUpgradeSettingsArgs>

Constructors

Link copied to clipboard
constructor(drainTimeout: Output<Double>? = null, maxSurge: Output<String>? = null, maxUnavailable: Output<String>? = null)

Properties

Link copied to clipboard
val drainTimeout: Output<Double>? = null

The maximum time in seconds that is allowed for a node drain to complete before proceeding with the upgrade of the agent pool. If not specified during creation, a value of 1800 seconds is used.

Link copied to clipboard
val maxSurge: Output<String>? = null

The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified during creation, a value of 1 is used. One of MaxSurge and MaxUnavailable must be greater than 0.

Link copied to clipboard
val maxUnavailable: Output<String>? = null

The maximum number or percentage of nodes that can be unavailable during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified during creation, a value of 0 is used. One of MaxSurge and MaxUnavailable must be greater than 0.

Functions

Link copied to clipboard
open override fun toJava(): AgentPoolUpgradeSettingsArgs