All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.compute.kotlin.outputs.GetSnapshotSourceDiskEncryptionKey.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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.
 */
public data class GetSnapshotSourceDiskEncryptionKey(
    public val kmsKeyServiceAccount: String,
    public val rawKey: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetSnapshotSourceDiskEncryptionKey): GetSnapshotSourceDiskEncryptionKey = GetSnapshotSourceDiskEncryptionKey(
            kmsKeyServiceAccount = javaType.kmsKeyServiceAccount(),
            rawKey = javaType.rawKey(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy