com.pulumi.gcp.dataproc.kotlin.inputs.ClusterClusterConfigMasterConfigDiskConfigArgs.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.ClusterClusterConfigMasterConfigDiskConfigArgs.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 Optional. Interface type of local SSDs (default is "scsi").
* Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile
* Memory Express). See
* [local SSD performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance).
* @property numLocalSsds The amount of local SSD disks that will be
* attached to each master cluster node. Defaults to 0.
*/
public data class ClusterClusterConfigMasterConfigDiskConfigArgs(
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.ClusterClusterConfigMasterConfigDiskConfigArgs =
com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigMasterConfigDiskConfigArgs.builder()
.bootDiskSizeGb(bootDiskSizeGb?.applyValue({ args0 -> args0 }))
.bootDiskType(bootDiskType?.applyValue({ args0 -> args0 }))
.localSsdInterface(localSsdInterface?.applyValue({ args0 -> args0 }))
.numLocalSsds(numLocalSsds?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterClusterConfigMasterConfigDiskConfigArgs].
*/
@PulumiTagMarker
public class ClusterClusterConfigMasterConfigDiskConfigArgsBuilder 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("agndewigwbfjixdx")
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("uixtlnowgdwdvxio")
public suspend fun bootDiskType(`value`: Output) {
this.bootDiskType = value
}
/**
* @param value Optional. Interface type of local SSDs (default is "scsi").
* Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile
* Memory Express). See
* [local SSD performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance).
*/
@JvmName("mhlvqafmuuosmkar")
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("vyvpurchsbpltyde")
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("mhldobkuukgowqbh")
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("htdhcapsmsarfgpx")
public suspend fun bootDiskType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bootDiskType = mapped
}
/**
* @param value Optional. Interface type of local SSDs (default is "scsi").
* Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile
* Memory Express). See
* [local SSD performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance).
*/
@JvmName("nsmbvmnejadlnlpq")
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("swimahjnimchbtec")
public suspend fun numLocalSsds(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.numLocalSsds = mapped
}
internal fun build(): ClusterClusterConfigMasterConfigDiskConfigArgs =
ClusterClusterConfigMasterConfigDiskConfigArgs(
bootDiskSizeGb = bootDiskSizeGb,
bootDiskType = bootDiskType,
localSsdInterface = localSsdInterface,
numLocalSsds = numLocalSsds,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy