com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroup.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
/**
*
* @property name The Node group resource name.
* @property nodeGroupConfig The node group instance group configuration.
* @property roles Node group roles.
* One of `"DRIVER"`.
*/
public data class ClusterClusterConfigAuxiliaryNodeGroupNodeGroup(
public val name: String? = null,
public val nodeGroupConfig: ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfig? =
null,
public val roles: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroup): ClusterClusterConfigAuxiliaryNodeGroupNodeGroup =
ClusterClusterConfigAuxiliaryNodeGroupNodeGroup(
name = javaType.name().map({ args0 -> args0 }).orElse(null),
nodeGroupConfig = javaType.nodeGroupConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfig.Companion.toKotlin(args0)
})
}).orElse(null),
roles = javaType.roles().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy