com.pulumi.gcp.container.kotlin.inputs.NodePoolNodeConfigSecondaryBootDiskArgs.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.container.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.NodePoolNodeConfigSecondaryBootDiskArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property diskImage Disk image to create the secondary boot disk from
* @property mode Mode for how the secondary boot disk is used.
*/
public data class NodePoolNodeConfigSecondaryBootDiskArgs(
public val diskImage: Output,
public val mode: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.NodePoolNodeConfigSecondaryBootDiskArgs =
com.pulumi.gcp.container.inputs.NodePoolNodeConfigSecondaryBootDiskArgs.builder()
.diskImage(diskImage.applyValue({ args0 -> args0 }))
.mode(mode?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NodePoolNodeConfigSecondaryBootDiskArgs].
*/
@PulumiTagMarker
public class NodePoolNodeConfigSecondaryBootDiskArgsBuilder internal constructor() {
private var diskImage: Output? = null
private var mode: Output? = null
/**
* @param value Disk image to create the secondary boot disk from
*/
@JvmName("uxnoavwfnytupxlr")
public suspend fun diskImage(`value`: Output) {
this.diskImage = value
}
/**
* @param value Mode for how the secondary boot disk is used.
*/
@JvmName("foddsuoqipggyvbf")
public suspend fun mode(`value`: Output) {
this.mode = value
}
/**
* @param value Disk image to create the secondary boot disk from
*/
@JvmName("gukbftbfwungfkuv")
public suspend fun diskImage(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.diskImage = mapped
}
/**
* @param value Mode for how the secondary boot disk is used.
*/
@JvmName("mncmhaohfwikehfn")
public suspend fun mode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mode = mapped
}
internal fun build(): NodePoolNodeConfigSecondaryBootDiskArgs =
NodePoolNodeConfigSecondaryBootDiskArgs(
diskImage = diskImage ?: throw PulumiNullFieldException("diskImage"),
mode = mode,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy