All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.synapse.kotlin.inputs.AutoScalePropertiesArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@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