com.pulumi.gcp.dataproc.kotlin.outputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfig.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfig(
public val gkeClusterTarget: String? = null,
public val nodePoolTargets: List? =
null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfig): ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfig =
ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfig(
gkeClusterTarget = javaType.gkeClusterTarget().map({ args0 -> args0 }).orElse(null),
nodePoolTargets = javaType.nodePoolTargets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataproc.kotlin.outputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTarget.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy