com.pulumi.gcp.compute.kotlin.outputs.InstanceTemplateDiskSourceImageEncryptionKey.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.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property kmsKeySelfLink The self link of the encryption key that is
* stored in Google Cloud KMS.
* @property kmsKeyServiceAccount The service account being used for the
* encryption request for the given KMS key. If absent, the Compute Engine
* default service account is used.
*/
public data class InstanceTemplateDiskSourceImageEncryptionKey(
public val kmsKeySelfLink: String,
public val kmsKeyServiceAccount: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.InstanceTemplateDiskSourceImageEncryptionKey): InstanceTemplateDiskSourceImageEncryptionKey = InstanceTemplateDiskSourceImageEncryptionKey(
kmsKeySelfLink = javaType.kmsKeySelfLink(),
kmsKeyServiceAccount = javaType.kmsKeyServiceAccount().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy