All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.dataproc.kotlin.outputs.ClusterVirtualClusterConfigKubernetesClusterConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataproc.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property gkeClusterConfig The configuration for running the Dataproc cluster on GKE.
 * @property kubernetesNamespace A namespace within the Kubernetes cluster to deploy into.
 * If this namespace does not exist, it is created.
 * If it  exists, Dataproc verifies that another Dataproc VirtualCluster is not installed into it.
 * If not specified, the name of the Dataproc Cluster is used.
 * @property kubernetesSoftwareConfig The software configuration for this Dataproc cluster running on Kubernetes.
 */
public data class ClusterVirtualClusterConfigKubernetesClusterConfig(
    public val gkeClusterConfig: ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfig,
    public val kubernetesNamespace: String? = null,
    public val kubernetesSoftwareConfig: ClusterVirtualClusterConfigKubernetesClusterConfigKubernetesSoftwareConfig,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.ClusterVirtualClusterConfigKubernetesClusterConfig): ClusterVirtualClusterConfigKubernetesClusterConfig =
            ClusterVirtualClusterConfigKubernetesClusterConfig(
                gkeClusterConfig = javaType.gkeClusterConfig().let({ args0 ->
                    com.pulumi.gcp.dataproc.kotlin.outputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfig.Companion.toKotlin(args0)
                }),
                kubernetesNamespace = javaType.kubernetesNamespace().map({ args0 -> args0 }).orElse(null),
                kubernetesSoftwareConfig = javaType.kubernetesSoftwareConfig().let({ args0 ->
                    com.pulumi.gcp.dataproc.kotlin.outputs.ClusterVirtualClusterConfigKubernetesClusterConfigKubernetesSoftwareConfig.Companion.toKotlin(args0)
                }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy