com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfig.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property accelerators The Compute Engine accelerator (GPU) configuration for these instances. Can be specified
* multiple times.
* @property diskConfig Disk Config
* @property instanceNames List of auxiliary node group instance names which have been assigned to the cluster.
* @property machineType The name of a Google Compute Engine machine type
* to create for the node group. If not specified, GCP will default to a predetermined
* computed value (currently `n1-standard-4`).
* @property minCpuPlatform The name of a minimum generation of CPU family
* for the node group. If not specified, GCP will default to a predetermined computed value
* for each zone. See [the guide](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
* for details about which CPU families are available (and defaulted) for each zone.
* @property numInstances Specifies the number of master nodes to create.
* Please set a number greater than 0. Node Group must have at least 1 instance.
*/
public data class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfig(
public val accelerators: List? = null,
public val diskConfig: ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfig? =
null,
public val instanceNames: List? = null,
public val machineType: String? = null,
public val minCpuPlatform: String? = null,
public val numInstances: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfig): ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfig =
ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfig(
accelerators = javaType.accelerators().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigAccelerator.Companion.toKotlin(args0)
})
}),
diskConfig = javaType.diskConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfig.Companion.toKotlin(args0)
})
}).orElse(null),
instanceNames = javaType.instanceNames().map({ args0 -> args0 }),
machineType = javaType.machineType().map({ args0 -> args0 }).orElse(null),
minCpuPlatform = javaType.minCpuPlatform().map({ args0 -> args0 }).orElse(null),
numInstances = javaType.numInstances().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy