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

com.pulumi.azure.keyvault.kotlin.outputs.GetEncryptedValueResult.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.keyvault.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getEncryptedValue.
 * @property algorithm
 * @property decodedPlainTextValue The Base64URL decoded string of `plain_text_value`. Because the API would remove padding characters of `plain_text_value` when encrypting, this attribute is useful to get the original value.
 * @property encryptedData
 * @property id The provider-assigned unique ID for this managed resource.
 * @property keyVaultKeyId
 * @property plainTextValue
 */
public data class GetEncryptedValueResult(
    public val algorithm: String,
    public val decodedPlainTextValue: String,
    public val encryptedData: String? = null,
    public val id: String,
    public val keyVaultKeyId: String,
    public val plainTextValue: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.GetEncryptedValueResult):
            GetEncryptedValueResult = GetEncryptedValueResult(
            algorithm = javaType.algorithm(),
            decodedPlainTextValue = javaType.decodedPlainTextValue(),
            encryptedData = javaType.encryptedData().map({ args0 -> args0 }).orElse(null),
            id = javaType.id(),
            keyVaultKeyId = javaType.keyVaultKeyId(),
            plainTextValue = javaType.plainTextValue().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy