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

com.pulumi.azurenative.synapse.kotlin.outputs.DynamicExecutorAllocationResponse.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.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress

/**
 * 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 DynamicExecutorAllocationResponse(
    public val enabled: Boolean? = null,
    public val maxExecutors: Int? = null,
    public val minExecutors: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.synapse.outputs.DynamicExecutorAllocationResponse): DynamicExecutorAllocationResponse = DynamicExecutorAllocationResponse(
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            maxExecutors = javaType.maxExecutors().map({ args0 -> args0 }).orElse(null),
            minExecutors = javaType.minExecutors().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy