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

com.pulumi.gcp.kms.kotlin.outputs.GetKMSSecretAsymmetricResult.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.kms.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getKMSSecretAsymmetric.
 * @property ciphertext
 * @property crc32 Contains the crc32 checksum of the provided ciphertext.
 * @property cryptoKeyVersion
 * @property id The provider-assigned unique ID for this managed resource.
 * @property plaintext Contains the result of decrypting the provided ciphertext.
 */
public data class GetKMSSecretAsymmetricResult(
    public val ciphertext: String,
    public val crc32: String? = null,
    public val cryptoKeyVersion: String,
    public val id: String,
    public val plaintext: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.kms.outputs.GetKMSSecretAsymmetricResult): GetKMSSecretAsymmetricResult = GetKMSSecretAsymmetricResult(
            ciphertext = javaType.ciphertext(),
            crc32 = javaType.crc32().map({ args0 -> args0 }).orElse(null),
            cryptoKeyVersion = javaType.cryptoKeyVersion(),
            id = javaType.id(),
            plaintext = javaType.plaintext(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy