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

com.pulumi.gcp.dataproc.kotlin.outputs.ClusterVirtualClusterConfigKubernetesClusterConfigKubernetesSoftwareConfig.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 *
 * @property componentVersion The components that should be installed in this Dataproc cluster. The key must be a string from the
 * KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.
 * * **NOTE** : `component_version[SPARK]` is mandatory to set, or the creation of the cluster will fail.
 * @property properties The properties to set on daemon config files. Property keys are specified in prefix:property format,
 * for example spark:spark.kubernetes.container.image.
 */
public data class ClusterVirtualClusterConfigKubernetesClusterConfigKubernetesSoftwareConfig(
    public val componentVersion: Map,
    public val properties: Map? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.ClusterVirtualClusterConfigKubernetesClusterConfigKubernetesSoftwareConfig): ClusterVirtualClusterConfigKubernetesClusterConfigKubernetesSoftwareConfig =
            ClusterVirtualClusterConfigKubernetesClusterConfigKubernetesSoftwareConfig(
                componentVersion = javaType.componentVersion().map({ args0 -> args0.key.to(args0.value) }).toMap(),
                properties = javaType.properties().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy