![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.containerapp.kotlin.inputs.JobEventTriggerConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.containerapp.kotlin.inputs
import com.pulumi.azure.containerapp.inputs.JobEventTriggerConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property parallelism Number of parallel replicas of a job that can run at a given time.
* @property replicaCompletionCount Minimum number of successful replica completions before overall job completion.
* @property scales A `scale` block as defined below.
*/
public data class JobEventTriggerConfigArgs(
public val parallelism: Output? = null,
public val replicaCompletionCount: Output? = null,
public val scales: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerapp.inputs.JobEventTriggerConfigArgs =
com.pulumi.azure.containerapp.inputs.JobEventTriggerConfigArgs.builder()
.parallelism(parallelism?.applyValue({ args0 -> args0 }))
.replicaCompletionCount(replicaCompletionCount?.applyValue({ args0 -> args0 }))
.scales(
scales?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [JobEventTriggerConfigArgs].
*/
@PulumiTagMarker
public class JobEventTriggerConfigArgsBuilder internal constructor() {
private var parallelism: Output? = null
private var replicaCompletionCount: Output? = null
private var scales: Output>? = null
/**
* @param value Number of parallel replicas of a job that can run at a given time.
*/
@JvmName("jpmdnmiofhamkbtc")
public suspend fun parallelism(`value`: Output) {
this.parallelism = value
}
/**
* @param value Minimum number of successful replica completions before overall job completion.
*/
@JvmName("jnlqadmttmrafntn")
public suspend fun replicaCompletionCount(`value`: Output) {
this.replicaCompletionCount = value
}
/**
* @param value A `scale` block as defined below.
*/
@JvmName("gxpljmnlebrukhtx")
public suspend fun scales(`value`: Output>) {
this.scales = value
}
@JvmName("bjpyqkifdapoolwv")
public suspend fun scales(vararg values: Output) {
this.scales = Output.all(values.asList())
}
/**
* @param values A `scale` block as defined below.
*/
@JvmName("secegomwhmcpufac")
public suspend fun scales(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy