com.pulumi.gcp.dataproc.kotlin.inputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetArgs.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.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property nodePool The target GKE node pool.
* @property nodePoolConfig The configuration for the GKE node pool.
* If specified, Dataproc attempts to create a node pool with the specified shape.
* If one with the same name already exists, it is verified against all specified fields.
* If a field differs, the virtual cluster creation will fail.
* @property roles The roles associated with the GKE node pool.
* One of `"DEFAULT"`, `"CONTROLLER"`, `"SPARK_DRIVER"` or `"SPARK_EXECUTOR"`.
*/
public data class
ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetArgs(
public val nodePool: Output,
public val nodePoolConfig: Output? =
null,
public val roles: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetArgs =
com.pulumi.gcp.dataproc.inputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetArgs.builder()
.nodePool(nodePool.applyValue({ args0 -> args0 }))
.nodePoolConfig(nodePoolConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.roles(roles.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetArgs].
*/
@PulumiTagMarker
public class
ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetArgsBuilder
internal constructor() {
private var nodePool: Output? = null
private var nodePoolConfig:
Output? =
null
private var roles: Output>? = null
/**
* @param value The target GKE node pool.
*/
@JvmName("lbvvsksgrtrlwals")
public suspend fun nodePool(`value`: Output) {
this.nodePool = value
}
/**
* @param value The configuration for the GKE node pool.
* If specified, Dataproc attempts to create a node pool with the specified shape.
* If one with the same name already exists, it is verified against all specified fields.
* If a field differs, the virtual cluster creation will fail.
*/
@JvmName("lxwicupwrqhnvnkx")
public suspend fun nodePoolConfig(`value`: Output) {
this.nodePoolConfig = value
}
/**
* @param value The roles associated with the GKE node pool.
* One of `"DEFAULT"`, `"CONTROLLER"`, `"SPARK_DRIVER"` or `"SPARK_EXECUTOR"`.
*/
@JvmName("jkwkboijiefaqrgb")
public suspend fun roles(`value`: Output>) {
this.roles = value
}
@JvmName("gdfpifcupifihpqw")
public suspend fun roles(vararg values: Output) {
this.roles = Output.all(values.asList())
}
/**
* @param values The roles associated with the GKE node pool.
* One of `"DEFAULT"`, `"CONTROLLER"`, `"SPARK_DRIVER"` or `"SPARK_EXECUTOR"`.
*/
@JvmName("wfvpywxxpknrevao")
public suspend fun roles(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy