![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.synapse.kotlin.inputs.AutoScalePropertiesArgs.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.AutoScalePropertiesArgs.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
/**
* Auto-scaling properties of a Big Data pool powered by Apache Spark
* @property enabled Whether automatic scaling is enabled for the Big Data pool.
* @property maxNodeCount The maximum number of nodes the Big Data pool can support.
* @property minNodeCount The minimum number of nodes the Big Data pool can support.
*/
public data class AutoScalePropertiesArgs(
public val enabled: Output? = null,
public val maxNodeCount: Output? = null,
public val minNodeCount: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.synapse.inputs.AutoScalePropertiesArgs =
com.pulumi.azurenative.synapse.inputs.AutoScalePropertiesArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.maxNodeCount(maxNodeCount?.applyValue({ args0 -> args0 }))
.minNodeCount(minNodeCount?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AutoScalePropertiesArgs].
*/
@PulumiTagMarker
public class AutoScalePropertiesArgsBuilder internal constructor() {
private var enabled: Output? = null
private var maxNodeCount: Output? = null
private var minNodeCount: Output? = null
/**
* @param value Whether automatic scaling is enabled for the Big Data pool.
*/
@JvmName("rsgceonqthdtwfqn")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value The maximum number of nodes the Big Data pool can support.
*/
@JvmName("tbcgiomxlsfoyrux")
public suspend fun maxNodeCount(`value`: Output) {
this.maxNodeCount = value
}
/**
* @param value The minimum number of nodes the Big Data pool can support.
*/
@JvmName("ofgrkosbriiseaae")
public suspend fun minNodeCount(`value`: Output) {
this.minNodeCount = value
}
/**
* @param value Whether automatic scaling is enabled for the Big Data pool.
*/
@JvmName("wuimniwytpbqkwyv")
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 nodes the Big Data pool can support.
*/
@JvmName("tleuajrrpdeaxkux")
public suspend fun maxNodeCount(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxNodeCount = mapped
}
/**
* @param value The minimum number of nodes the Big Data pool can support.
*/
@JvmName("icnnbmcjdiqxdwdq")
public suspend fun minNodeCount(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minNodeCount = mapped
}
internal fun build(): AutoScalePropertiesArgs = AutoScalePropertiesArgs(
enabled = enabled,
maxNodeCount = maxNodeCount,
minNodeCount = minNodeCount,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy