com.pulumi.gcp.compute.kotlin.outputs.GetSnapshotSnapshotEncryptionKey.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 name of the encryption key that is stored in Google Cloud KMS.
* @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.
* @property sha256 The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied
* encryption key that protects this resource.
*/
public data class GetSnapshotSnapshotEncryptionKey(
public val kmsKeySelfLink: String,
public val kmsKeyServiceAccount: String,
public val rawKey: String,
public val sha256: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetSnapshotSnapshotEncryptionKey): GetSnapshotSnapshotEncryptionKey = GetSnapshotSnapshotEncryptionKey(
kmsKeySelfLink = javaType.kmsKeySelfLink(),
kmsKeyServiceAccount = javaType.kmsKeyServiceAccount(),
rawKey = javaType.rawKey(),
sha256 = javaType.sha256(),
)
}
}