com.pulumi.gcp.dataproc.kotlin.inputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.dataproc.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property accelerators The Compute Engine accelerator (GPU) configuration for these instances. Can be specified
* multiple times.
* @property diskConfig Disk Config
* @property instanceNames List of auxiliary node group instance names which have been assigned to the cluster.
* @property machineType The name of a Google Compute Engine machine type
* to create for the node group. If not specified, GCP will default to a predetermined
* computed value (currently `n1-standard-4`).
* @property minCpuPlatform The name of a minimum generation of CPU family
* for the node group. If not specified, GCP will default to a predetermined computed value
* for each zone. See [the guide](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
* for details about which CPU families are available (and defaulted) for each zone.
* @property numInstances Specifies the number of master nodes to create.
* Please set a number greater than 0. Node Group must have at least 1 instance.
*/
public data class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigArgs(
public val accelerators: Output>? =
null,
public val diskConfig: Output? = null,
public val instanceNames: Output>? = null,
public val machineType: Output? = null,
public val minCpuPlatform: Output? = null,
public val numInstances: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigArgs =
com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigArgs.builder()
.accelerators(
accelerators?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.diskConfig(diskConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.instanceNames(instanceNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.machineType(machineType?.applyValue({ args0 -> args0 }))
.minCpuPlatform(minCpuPlatform?.applyValue({ args0 -> args0 }))
.numInstances(numInstances?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigArgs].
*/
@PulumiTagMarker
public class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigArgsBuilder internal constructor() {
private var accelerators:
Output>? =
null
private var diskConfig:
Output? = null
private var instanceNames: Output>? = null
private var machineType: Output? = null
private var minCpuPlatform: Output? = null
private var numInstances: Output? = null
/**
* @param value The Compute Engine accelerator (GPU) configuration for these instances. Can be specified
* multiple times.
*/
@JvmName("qhofjeirojdykblx")
public suspend fun accelerators(`value`: Output>) {
this.accelerators = value
}
@JvmName("tgllyrbwabsfdcxh")
public suspend fun accelerators(vararg values: Output) {
this.accelerators = Output.all(values.asList())
}
/**
* @param values The Compute Engine accelerator (GPU) configuration for these instances. Can be specified
* multiple times.
*/
@JvmName("pifdshawywnybvhx")
public suspend fun accelerators(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy