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

com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigAuxiliaryNodeGroup.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
import kotlin.collections.List

/**
 *
 * @property nodeGroupId A node group ID. Generated if not specified. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.
 * @property nodeGroups Node group configuration.
 */
public data class ClusterClusterConfigAuxiliaryNodeGroup(
    public val nodeGroupId: String? = null,
    public val nodeGroups: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.ClusterClusterConfigAuxiliaryNodeGroup): ClusterClusterConfigAuxiliaryNodeGroup = ClusterClusterConfigAuxiliaryNodeGroup(
            nodeGroupId = javaType.nodeGroupId().map({ args0 -> args0 }).orElse(null),
            nodeGroups = javaType.nodeGroups().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroup.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy