![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.containerapp.kotlin.inputs.JobEventTriggerConfigScaleArgs.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.JobEventTriggerConfigScaleArgs.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 maxExecutions Maximum number of job executions that are created for a trigger.
* @property minExecutions Minimum number of job executions that are created for a trigger.
* @property pollingIntervalInSeconds Interval to check each event source in seconds.
* @property rules A `rules` block as defined below.
*/
public data class JobEventTriggerConfigScaleArgs(
public val maxExecutions: Output? = null,
public val minExecutions: Output? = null,
public val pollingIntervalInSeconds: Output? = null,
public val rules: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerapp.inputs.JobEventTriggerConfigScaleArgs =
com.pulumi.azure.containerapp.inputs.JobEventTriggerConfigScaleArgs.builder()
.maxExecutions(maxExecutions?.applyValue({ args0 -> args0 }))
.minExecutions(minExecutions?.applyValue({ args0 -> args0 }))
.pollingIntervalInSeconds(pollingIntervalInSeconds?.applyValue({ args0 -> args0 }))
.rules(
rules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [JobEventTriggerConfigScaleArgs].
*/
@PulumiTagMarker
public class JobEventTriggerConfigScaleArgsBuilder internal constructor() {
private var maxExecutions: Output? = null
private var minExecutions: Output? = null
private var pollingIntervalInSeconds: Output? = null
private var rules: Output>? = null
/**
* @param value Maximum number of job executions that are created for a trigger.
*/
@JvmName("nrfdnoaiwmgjafjr")
public suspend fun maxExecutions(`value`: Output) {
this.maxExecutions = value
}
/**
* @param value Minimum number of job executions that are created for a trigger.
*/
@JvmName("cfirwvlunnruhalq")
public suspend fun minExecutions(`value`: Output) {
this.minExecutions = value
}
/**
* @param value Interval to check each event source in seconds.
*/
@JvmName("ksurcxcdghtcffqc")
public suspend fun pollingIntervalInSeconds(`value`: Output) {
this.pollingIntervalInSeconds = value
}
/**
* @param value A `rules` block as defined below.
*/
@JvmName("nmysunkmtiahjdyn")
public suspend fun rules(`value`: Output>) {
this.rules = value
}
@JvmName("cmaudaewyimgnyum")
public suspend fun rules(vararg values: Output) {
this.rules = Output.all(values.asList())
}
/**
* @param values A `rules` block as defined below.
*/
@JvmName("dlupdhlfedmqlsea")
public suspend fun rules(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy