com.pulumi.gcp.dataproc.kotlin.outputs.WorkflowTemplatePlacementManagedClusterConfigSoftwareConfig.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
import kotlin.collections.Map
/**
*
* @property imageVersion The version of software inside the cluster. It must be one of the supported [Dataproc Versions](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported_dataproc_versions), such as "1.2" (including a subminor version, such as "1.2.29"), or the ["preview" version](https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version.
* @property optionalComponents The set of components to activate on the cluster.
* @property properties The properties to set on daemon config files.
* Property keys are specified in `prefix:property` format, for example `core:hadoop.tmp.dir`. The following are supported prefixes and their mappings:
* * capacity-scheduler: `capacity-scheduler.xml`
* * core: `core-site.xml`
* * distcp: `distcp-default.xml`
* * hdfs: `hdfs-site.xml`
* * hive: `hive-site.xml`
* * mapred: `mapred-site.xml`
* * pig: `pig.properties`
* * spark: `spark-defaults.conf`
* * yarn: `yarn-site.xml`
* For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
*/
public data class WorkflowTemplatePlacementManagedClusterConfigSoftwareConfig(
public val imageVersion: String? = null,
public val optionalComponents: List? = null,
public val properties: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.WorkflowTemplatePlacementManagedClusterConfigSoftwareConfig): WorkflowTemplatePlacementManagedClusterConfigSoftwareConfig =
WorkflowTemplatePlacementManagedClusterConfigSoftwareConfig(
imageVersion = javaType.imageVersion().map({ args0 -> args0 }).orElse(null),
optionalComponents = javaType.optionalComponents().map({ args0 -> args0 }),
properties = javaType.properties().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy