
com.pulumi.azure.datafactory.kotlin.outputs.LinkedServiceAzureDatabricksInstancePool.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.datafactory.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property clusterVersion Spark version of a the cluster.
* @property instancePoolId Identifier of the instance pool within the linked ADB instance.
* @property maxNumberOfWorkers The max number of worker nodes. Set this value if you want to enable autoscaling between the `min_number_of_workers` and this value. Omit this value to use a fixed number of workers defined in the `min_number_of_workers` property.
* @property minNumberOfWorkers The minimum number of worker nodes. Defaults to `1`.
*/
public data class LinkedServiceAzureDatabricksInstancePool(
public val clusterVersion: String,
public val instancePoolId: String,
public val maxNumberOfWorkers: Int? = null,
public val minNumberOfWorkers: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.datafactory.outputs.LinkedServiceAzureDatabricksInstancePool): LinkedServiceAzureDatabricksInstancePool = LinkedServiceAzureDatabricksInstancePool(
clusterVersion = javaType.clusterVersion(),
instancePoolId = javaType.instancePoolId(),
maxNumberOfWorkers = javaType.maxNumberOfWorkers().map({ args0 -> args0 }).orElse(null),
minNumberOfWorkers = javaType.minNumberOfWorkers().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy