StatefulArgs

data class StatefulArgs(val gracePeriodTimeSpan: Output<String>? = null, val kind: Output<String>, val maxAgentLifetime: Output<String>? = null, val resourcePredictions: Output<Any>? = null, val resourcePredictionsProfile: Output<Either<AutomaticResourcePredictionsProfileArgs, ManualResourcePredictionsProfileArgs>>? = null) : ConvertibleToJava<StatefulArgs>

Stateful profile meaning that the machines will be returned to the pool after running a job.

Constructors

Link copied to clipboard
constructor(gracePeriodTimeSpan: Output<String>? = null, kind: Output<String>, maxAgentLifetime: Output<String>? = null, resourcePredictions: Output<Any>? = null, resourcePredictionsProfile: Output<Either<AutomaticResourcePredictionsProfileArgs, ManualResourcePredictionsProfileArgs>>? = null)

Properties

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

How long should the machine be kept around after it ran a workload when there are no stand-by agents. The maximum is one week.

Link copied to clipboard
val kind: Output<String>

Discriminator property for AgentProfile. Expected value is 'Stateful'.

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

How long should stateful machines be kept around. The maximum is one week.

Link copied to clipboard
val resourcePredictions: Output<Any>? = null

Defines pool buffer/stand-by agents.

Link copied to clipboard

Defines how the pool buffer/stand-by agents is provided.

Functions

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