com.pulumi.gcp.edgecontainer.kotlin.outputs.NodePoolLocalDiskEncryption.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.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @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 NodePoolLocalDiskEncryption(
public val kmsKey: String? = null,
public val kmsKeyActiveVersion: String? = null,
public val kmsKeyState: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.edgecontainer.outputs.NodePoolLocalDiskEncryption): NodePoolLocalDiskEncryption = NodePoolLocalDiskEncryption(
kmsKey = javaType.kmsKey().map({ args0 -> args0 }).orElse(null),
kmsKeyActiveVersion = javaType.kmsKeyActiveVersion().map({ args0 -> args0 }).orElse(null),
kmsKeyState = javaType.kmsKeyState().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy