com.pulumi.gcp.dataproc.kotlin.outputs.ClusterVirtualClusterConfig.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
/**
*
* @property auxiliaryServicesConfig Configuration of auxiliary services used by this cluster.
* Structure defined below.
* @property kubernetesClusterConfig The configuration for running the Dataproc cluster on Kubernetes.
* Structure defined below.
* - - -
* @property stagingBucket The Cloud Storage staging bucket used to stage files,
* such as Hadoop jars, between client machines and the cluster.
* Note: If you don't explicitly specify a `staging_bucket`
* then GCP will auto create / assign one for you. However, you are not guaranteed
* an auto generated bucket which is solely dedicated to your cluster; it may be shared
* with other clusters in the same region/zone also choosing to use the auto generation
* option.
*/
public data class ClusterVirtualClusterConfig(
public val auxiliaryServicesConfig: ClusterVirtualClusterConfigAuxiliaryServicesConfig? = null,
public val kubernetesClusterConfig: ClusterVirtualClusterConfigKubernetesClusterConfig? = null,
public val stagingBucket: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.ClusterVirtualClusterConfig): ClusterVirtualClusterConfig = ClusterVirtualClusterConfig(
auxiliaryServicesConfig = javaType.auxiliaryServicesConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataproc.kotlin.outputs.ClusterVirtualClusterConfigAuxiliaryServicesConfig.Companion.toKotlin(args0)
})
}).orElse(null),
kubernetesClusterConfig = javaType.kubernetesClusterConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataproc.kotlin.outputs.ClusterVirtualClusterConfigKubernetesClusterConfig.Companion.toKotlin(args0)
})
}).orElse(null),
stagingBucket = javaType.stagingBucket().map({ args0 -> args0 }).orElse(null),
)
}
}