com.pulumi.gcp.dataproc.kotlin.inputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfigArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property bootDiskSizeGb Size of the primary disk attached to each node, specified
* in GB. The primary disk contains the boot volume and system libraries, and the
* smallest allowed disk size is 10GB. GCP will default to a predetermined
* computed value if not set (currently 500GB). Note: If SSDs are not
* attached, it also contains the HDFS data blocks and Hadoop working directories.
* @property bootDiskType The disk type of the primary disk attached to each node.
* One of `"pd-ssd"` or `"pd-standard"`. Defaults to `"pd-standard"`.
* @property localSsdInterface Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express).
* @property numLocalSsds The amount of local SSD disks that will be attached to each master cluster node.
* Defaults to 0.
*/
public data class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfigArgs(
public val bootDiskSizeGb: Output? = null,
public val bootDiskType: Output? = null,
public val localSsdInterface: Output? = null,
public val numLocalSsds: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfigArgs =
com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfigArgs.builder()
.bootDiskSizeGb(bootDiskSizeGb?.applyValue({ args0 -> args0 }))
.bootDiskType(bootDiskType?.applyValue({ args0 -> args0 }))
.localSsdInterface(localSsdInterface?.applyValue({ args0 -> args0 }))
.numLocalSsds(numLocalSsds?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfigArgs].
*/
@PulumiTagMarker
public class ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfigArgsBuilder
internal constructor() {
private var bootDiskSizeGb: Output? = null
private var bootDiskType: Output? = null
private var localSsdInterface: Output? = null
private var numLocalSsds: Output? = null
/**
* @param value Size of the primary disk attached to each node, specified
* in GB. The primary disk contains the boot volume and system libraries, and the
* smallest allowed disk size is 10GB. GCP will default to a predetermined
* computed value if not set (currently 500GB). Note: If SSDs are not
* attached, it also contains the HDFS data blocks and Hadoop working directories.
*/
@JvmName("tubcvbwmldfcaldu")
public suspend fun bootDiskSizeGb(`value`: Output) {
this.bootDiskSizeGb = value
}
/**
* @param value The disk type of the primary disk attached to each node.
* One of `"pd-ssd"` or `"pd-standard"`. Defaults to `"pd-standard"`.
*/
@JvmName("kbkhuxoawnlatplb")
public suspend fun bootDiskType(`value`: Output) {
this.bootDiskType = value
}
/**
* @param value Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express).
*/
@JvmName("jqtuiplsrdcmvfuh")
public suspend fun localSsdInterface(`value`: Output) {
this.localSsdInterface = value
}
/**
* @param value The amount of local SSD disks that will be attached to each master cluster node.
* Defaults to 0.
*/
@JvmName("jasckdpacjuyqlcp")
public suspend fun numLocalSsds(`value`: Output) {
this.numLocalSsds = value
}
/**
* @param value Size of the primary disk attached to each node, specified
* in GB. The primary disk contains the boot volume and system libraries, and the
* smallest allowed disk size is 10GB. GCP will default to a predetermined
* computed value if not set (currently 500GB). Note: If SSDs are not
* attached, it also contains the HDFS data blocks and Hadoop working directories.
*/
@JvmName("lfryypcsyvgialam")
public suspend fun bootDiskSizeGb(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bootDiskSizeGb = mapped
}
/**
* @param value The disk type of the primary disk attached to each node.
* One of `"pd-ssd"` or `"pd-standard"`. Defaults to `"pd-standard"`.
*/
@JvmName("ngyuvpwpklxxgatj")
public suspend fun bootDiskType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bootDiskType = mapped
}
/**
* @param value Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express).
*/
@JvmName("xrxvpqsqtnvyyccp")
public suspend fun localSsdInterface(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.localSsdInterface = mapped
}
/**
* @param value The amount of local SSD disks that will be attached to each master cluster node.
* Defaults to 0.
*/
@JvmName("ffkqyrwtedpqelye")
public suspend fun numLocalSsds(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.numLocalSsds = mapped
}
internal fun build(): ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfigArgs = ClusterClusterConfigAuxiliaryNodeGroupNodeGroupNodeGroupConfigDiskConfigArgs(
bootDiskSizeGb = bootDiskSizeGb,
bootDiskType = bootDiskType,
localSsdInterface = localSsdInterface,
numLocalSsds = numLocalSsds,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy