com.pulumi.gcp.dataproc.kotlin.inputs.WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfigArgs.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.WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfigArgs.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 in GB of the boot disk (default is 500GB).
* @property bootDiskType Type of the boot disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
* @property numLocalSsds Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.
*/
public data class WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfigArgs(
public val bootDiskSizeGb: Output? = null,
public val bootDiskType: Output? = null,
public val numLocalSsds: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfigArgs =
com.pulumi.gcp.dataproc.inputs.WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfigArgs.builder()
.bootDiskSizeGb(bootDiskSizeGb?.applyValue({ args0 -> args0 }))
.bootDiskType(bootDiskType?.applyValue({ args0 -> args0 }))
.numLocalSsds(numLocalSsds?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfigArgs].
*/
@PulumiTagMarker
public class WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfigArgsBuilder internal constructor() {
private var bootDiskSizeGb: Output? = null
private var bootDiskType: Output? = null
private var numLocalSsds: Output? = null
/**
* @param value Size in GB of the boot disk (default is 500GB).
*/
@JvmName("skegypenbifkmjbn")
public suspend fun bootDiskSizeGb(`value`: Output) {
this.bootDiskSizeGb = value
}
/**
* @param value Type of the boot disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
*/
@JvmName("upcpnrxlcorhcnjm")
public suspend fun bootDiskType(`value`: Output) {
this.bootDiskType = value
}
/**
* @param value Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.
*/
@JvmName("hoanlmhxsiyhwokr")
public suspend fun numLocalSsds(`value`: Output) {
this.numLocalSsds = value
}
/**
* @param value Size in GB of the boot disk (default is 500GB).
*/
@JvmName("djayajbxapituvwj")
public suspend fun bootDiskSizeGb(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bootDiskSizeGb = mapped
}
/**
* @param value Type of the boot disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
*/
@JvmName("meyrmffiheoitnaq")
public suspend fun bootDiskType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bootDiskType = mapped
}
/**
* @param value Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.
*/
@JvmName("tmhsgrowtnxfikco")
public suspend fun numLocalSsds(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.numLocalSsds = mapped
}
internal fun build(): WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfigArgs =
WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfigArgs(
bootDiskSizeGb = bootDiskSizeGb,
bootDiskType = bootDiskType,
numLocalSsds = numLocalSsds,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy