![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.synapse.kotlin.inputs.DynamicExecutorAllocationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.synapse.kotlin.inputs
import com.pulumi.azurenative.synapse.inputs.DynamicExecutorAllocationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Dynamic Executor Allocation Properties
* @property enabled Indicates whether Dynamic Executor Allocation is enabled or not.
* @property maxExecutors The maximum number of executors alloted
* @property minExecutors The minimum number of executors alloted
*/
public data class DynamicExecutorAllocationArgs(
public val enabled: Output? = null,
public val maxExecutors: Output? = null,
public val minExecutors: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.synapse.inputs.DynamicExecutorAllocationArgs =
com.pulumi.azurenative.synapse.inputs.DynamicExecutorAllocationArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.maxExecutors(maxExecutors?.applyValue({ args0 -> args0 }))
.minExecutors(minExecutors?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DynamicExecutorAllocationArgs].
*/
@PulumiTagMarker
public class DynamicExecutorAllocationArgsBuilder internal constructor() {
private var enabled: Output? = null
private var maxExecutors: Output? = null
private var minExecutors: Output? = null
/**
* @param value Indicates whether Dynamic Executor Allocation is enabled or not.
*/
@JvmName("fvgbxmaevsapmqjs")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value The maximum number of executors alloted
*/
@JvmName("ruflgrtxhocnhfuc")
public suspend fun maxExecutors(`value`: Output) {
this.maxExecutors = value
}
/**
* @param value The minimum number of executors alloted
*/
@JvmName("ygqlcdoymdbpjpgh")
public suspend fun minExecutors(`value`: Output) {
this.minExecutors = value
}
/**
* @param value Indicates whether Dynamic Executor Allocation is enabled or not.
*/
@JvmName("duftepilyqlblnxu")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value The maximum number of executors alloted
*/
@JvmName("uqojdbeioryexjsy")
public suspend fun maxExecutors(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxExecutors = mapped
}
/**
* @param value The minimum number of executors alloted
*/
@JvmName("tysfxyrnesltllbx")
public suspend fun minExecutors(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minExecutors = mapped
}
internal fun build(): DynamicExecutorAllocationArgs = DynamicExecutorAllocationArgs(
enabled = enabled,
maxExecutors = maxExecutors,
minExecutors = minExecutors,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy