com.pulumi.gcp.dataproc.kotlin.inputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigArgs.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.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
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 gkeClusterTarget A target GKE cluster to deploy to. It must be in the same project and region as the Dataproc cluster
* (the GKE cluster can be zonal or regional)
* @property nodePoolTargets GKE node pools where workloads will be scheduled. At least one node pool must be assigned the `DEFAULT`
* GkeNodePoolTarget.Role. If a GkeNodePoolTarget is not specified, Dataproc constructs a `DEFAULT` GkeNodePoolTarget.
* Each role can be given to only one GkeNodePoolTarget. All node pools must have the same location settings.
*/
public data class ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigArgs(
public val gkeClusterTarget: Output? = null,
public val nodePoolTargets: Output>? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigArgs =
com.pulumi.gcp.dataproc.inputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigArgs.builder()
.gkeClusterTarget(gkeClusterTarget?.applyValue({ args0 -> args0 }))
.nodePoolTargets(
nodePoolTargets?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigArgs].
*/
@PulumiTagMarker
public class ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigArgsBuilder internal constructor() {
private var gkeClusterTarget: Output? = null
private var nodePoolTargets:
Output>? =
null
/**
* @param value A target GKE cluster to deploy to. It must be in the same project and region as the Dataproc cluster
* (the GKE cluster can be zonal or regional)
*/
@JvmName("itukwqqmamhfsfhg")
public suspend fun gkeClusterTarget(`value`: Output) {
this.gkeClusterTarget = value
}
/**
* @param value GKE node pools where workloads will be scheduled. At least one node pool must be assigned the `DEFAULT`
* GkeNodePoolTarget.Role. If a GkeNodePoolTarget is not specified, Dataproc constructs a `DEFAULT` GkeNodePoolTarget.
* Each role can be given to only one GkeNodePoolTarget. All node pools must have the same location settings.
*/
@JvmName("xnyuvvvqfxactlot")
public suspend fun nodePoolTargets(`value`: Output>) {
this.nodePoolTargets = value
}
@JvmName("socnvvmrnolhopud")
public suspend fun nodePoolTargets(vararg values: Output) {
this.nodePoolTargets = Output.all(values.asList())
}
/**
* @param values GKE node pools where workloads will be scheduled. At least one node pool must be assigned the `DEFAULT`
* GkeNodePoolTarget.Role. If a GkeNodePoolTarget is not specified, Dataproc constructs a `DEFAULT` GkeNodePoolTarget.
* Each role can be given to only one GkeNodePoolTarget. All node pools must have the same location settings.
*/
@JvmName("scyffxccdottbwup")
public suspend fun nodePoolTargets(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy