com.pulumi.gcp.dataproc.kotlin.outputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigConfig.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.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property localSsdCount The number of local SSD disks to attach to the node,
* which is limited by the maximum number of disks allowable per zone.
* @property machineType The name of a Compute Engine machine type.
* @property minCpuPlatform Minimum CPU platform to be used by this instance.
* The instance may be scheduled on the specified or a newer CPU platform.
* Specify the friendly names of CPU platforms, such as "Intel Haswell" or "Intel Sandy Bridge".
* @property preemptible Whether the nodes are created as preemptible VM instances.
* Preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the
* CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).
* @property spot Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.
*/
public data class
ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigConfig(
public val localSsdCount: Int? = null,
public val machineType: String? = null,
public val minCpuPlatform: String? = null,
public val preemptible: Boolean? = null,
public val spot: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigConfig): ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigConfig =
ClusterVirtualClusterConfigKubernetesClusterConfigGkeClusterConfigNodePoolTargetNodePoolConfigConfig(
localSsdCount = javaType.localSsdCount().map({ args0 -> args0 }).orElse(null),
machineType = javaType.machineType().map({ args0 -> args0 }).orElse(null),
minCpuPlatform = javaType.minCpuPlatform().map({ args0 -> args0 }).orElse(null),
preemptible = javaType.preemptible().map({ args0 -> args0 }).orElse(null),
spot = javaType.spot().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy