com.pulumi.gcp.compute.kotlin.outputs.SnapshotSourceDiskEncryptionKey.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 kmsKeyServiceAccount The service account used for the encryption request for the given KMS key.
* If absent, the Compute Engine Service Agent service account is used.
* @property rawKey Specifies a 256-bit customer-supplied encryption key, encoded in
* RFC 4648 base64 to either encrypt or decrypt this resource.
* **Note**: This property is sensitive and will not be displayed in the plan.
*/
public data class SnapshotSourceDiskEncryptionKey(
public val kmsKeyServiceAccount: String? = null,
public val rawKey: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.SnapshotSourceDiskEncryptionKey): SnapshotSourceDiskEncryptionKey = SnapshotSourceDiskEncryptionKey(
kmsKeyServiceAccount = javaType.kmsKeyServiceAccount().map({ args0 -> args0 }).orElse(null),
rawKey = javaType.rawKey().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy