com.pulumi.gcp.edgecontainer.kotlin.inputs.NodePoolLocalDiskEncryptionArgs.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.edgecontainer.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.edgecontainer.inputs.NodePoolLocalDiskEncryptionArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property kmsKey The Cloud KMS CryptoKey e.g. projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} to use for protecting node local disks.
* If not specified, a Google-managed key will be used instead.
* @property kmsKeyActiveVersion (Output)
* The Cloud KMS CryptoKeyVersion currently in use for protecting node local disks. Only applicable if kmsKey is set.
* @property kmsKeyState (Output)
* Availability of the Cloud KMS CryptoKey. If not KEY_AVAILABLE, then nodes may go offline as they cannot access their local data.
* This can be caused by a lack of permissions to use the key, or if the key is disabled or deleted.
*/
public data class NodePoolLocalDiskEncryptionArgs(
public val kmsKey: Output? = null,
public val kmsKeyActiveVersion: Output? = null,
public val kmsKeyState: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.edgecontainer.inputs.NodePoolLocalDiskEncryptionArgs =
com.pulumi.gcp.edgecontainer.inputs.NodePoolLocalDiskEncryptionArgs.builder()
.kmsKey(kmsKey?.applyValue({ args0 -> args0 }))
.kmsKeyActiveVersion(kmsKeyActiveVersion?.applyValue({ args0 -> args0 }))
.kmsKeyState(kmsKeyState?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NodePoolLocalDiskEncryptionArgs].
*/
@PulumiTagMarker
public class NodePoolLocalDiskEncryptionArgsBuilder internal constructor() {
private var kmsKey: Output? = null
private var kmsKeyActiveVersion: Output? = null
private var kmsKeyState: Output? = null
/**
* @param value The Cloud KMS CryptoKey e.g. projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} to use for protecting node local disks.
* If not specified, a Google-managed key will be used instead.
*/
@JvmName("etaxopeelxxwktcq")
public suspend fun kmsKey(`value`: Output) {
this.kmsKey = value
}
/**
* @param value (Output)
* The Cloud KMS CryptoKeyVersion currently in use for protecting node local disks. Only applicable if kmsKey is set.
*/
@JvmName("mswqfkflcyqbomsx")
public suspend fun kmsKeyActiveVersion(`value`: Output) {
this.kmsKeyActiveVersion = value
}
/**
* @param value (Output)
* Availability of the Cloud KMS CryptoKey. If not KEY_AVAILABLE, then nodes may go offline as they cannot access their local data.
* This can be caused by a lack of permissions to use the key, or if the key is disabled or deleted.
*/
@JvmName("bssaqqhpimarrxft")
public suspend fun kmsKeyState(`value`: Output) {
this.kmsKeyState = value
}
/**
* @param value The Cloud KMS CryptoKey e.g. projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} to use for protecting node local disks.
* If not specified, a Google-managed key will be used instead.
*/
@JvmName("oltvtsmtdovqeeow")
public suspend fun kmsKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kmsKey = mapped
}
/**
* @param value (Output)
* The Cloud KMS CryptoKeyVersion currently in use for protecting node local disks. Only applicable if kmsKey is set.
*/
@JvmName("lwvmodoiqhxvanxx")
public suspend fun kmsKeyActiveVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kmsKeyActiveVersion = mapped
}
/**
* @param value (Output)
* Availability of the Cloud KMS CryptoKey. If not KEY_AVAILABLE, then nodes may go offline as they cannot access their local data.
* This can be caused by a lack of permissions to use the key, or if the key is disabled or deleted.
*/
@JvmName("txffywgjynsdhlwo")
public suspend fun kmsKeyState(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kmsKeyState = mapped
}
internal fun build(): NodePoolLocalDiskEncryptionArgs = NodePoolLocalDiskEncryptionArgs(
kmsKey = kmsKey,
kmsKeyActiveVersion = kmsKeyActiveVersion,
kmsKeyState = kmsKeyState,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy