
com.pulumi.azurenative.containerservice.kotlin.inputs.UpdateRunStrategyArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.containerservice.kotlin.inputs
import com.pulumi.azurenative.containerservice.inputs.UpdateRunStrategyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Defines the update sequence of the clusters via stages and groups.
* Stages within a run are executed sequentially one after another.
* Groups within a stage are executed in parallel.
* Member clusters within a group are updated sequentially one after another.
* A valid strategy contains no duplicate groups within or across stages.
* @property stages The list of stages that compose this update run. Min size: 1.
*/
public data class UpdateRunStrategyArgs(
public val stages: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.containerservice.inputs.UpdateRunStrategyArgs =
com.pulumi.azurenative.containerservice.inputs.UpdateRunStrategyArgs.builder()
.stages(
stages.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [UpdateRunStrategyArgs].
*/
@PulumiTagMarker
public class UpdateRunStrategyArgsBuilder internal constructor() {
private var stages: Output>? = null
/**
* @param value The list of stages that compose this update run. Min size: 1.
*/
@JvmName("acsudwgotphytwsj")
public suspend fun stages(`value`: Output>) {
this.stages = value
}
@JvmName("bwaswuijanduywkh")
public suspend fun stages(vararg values: Output) {
this.stages = Output.all(values.asList())
}
/**
* @param values The list of stages that compose this update run. Min size: 1.
*/
@JvmName("jwvwdlumwmmfxsbk")
public suspend fun stages(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy