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

com.pulumi.gcp.dataplex.kotlin.outputs.TaskNotebookInfrastructureSpecBatch.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataplex.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property executorsCount Total number of job executors. Executor Count should be between 2 and 100. [Default=2]
 * @property maxExecutorsCount Max configurable executors. If maxExecutorsCount > executorsCount, then auto-scaling is enabled. Max Executor Count should be between 2 and 1000. [Default=1000]
 */
public data class TaskNotebookInfrastructureSpecBatch(
    public val executorsCount: Int? = null,
    public val maxExecutorsCount: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.TaskNotebookInfrastructureSpecBatch): TaskNotebookInfrastructureSpecBatch = TaskNotebookInfrastructureSpecBatch(
            executorsCount = javaType.executorsCount().map({ args0 -> args0 }).orElse(null),
            maxExecutorsCount = javaType.maxExecutorsCount().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy