com.pulumi.gcp.dataproc.kotlin.inputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigArgs.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.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigArgs.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 autoscaling The autoscaler configuration for this node pool.
* The autoscaler is enabled only when a valid configuration is present.
* @property config The node pool configuration.
* @property locations The list of Compute Engine zones where node pool nodes associated
* with a Dataproc on GKE virtual cluster will be located.
* - - -
*/
public data class
ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigArgs(
public val autoscaling: Output? =
null,
public val config: Output? =
null,
public val locations: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigArgs =
com.pulumi.gcp.dataproc.inputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigArgs.builder()
.autoscaling(autoscaling?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.config(config?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.locations(locations.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigArgs].
*/
@PulumiTagMarker
public class
ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigArgsBuilder
internal constructor() {
private var autoscaling:
Output? =
null
private var config:
Output? =
null
private var locations: Output>? = null
/**
* @param value The autoscaler configuration for this node pool.
* The autoscaler is enabled only when a valid configuration is present.
*/
@JvmName("ybqvkknqxdgsjkux")
public suspend fun autoscaling(`value`: Output) {
this.autoscaling = value
}
/**
* @param value The node pool configuration.
*/
@JvmName("tnebepmostgjpoes")
public suspend fun config(`value`: Output) {
this.config = value
}
/**
* @param value The list of Compute Engine zones where node pool nodes associated
* with a Dataproc on GKE virtual cluster will be located.
* - - -
*/
@JvmName("qlxamopogoaufflo")
public suspend fun locations(`value`: Output>) {
this.locations = value
}
@JvmName("lqvcvduakvbyftcv")
public suspend fun locations(vararg values: Output) {
this.locations = Output.all(values.asList())
}
/**
* @param values The list of Compute Engine zones where node pool nodes associated
* with a Dataproc on GKE virtual cluster will be located.
* - - -
*/
@JvmName("vkfgcsyknfccljdn")
public suspend fun locations(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy