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

com.pulumi.gcp.kms.kotlin.outputs.GetCryptoKeyVersionsResult.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.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.kms.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getCryptoKeyVersions.
 * @property cryptoKey
 * @property filter
 * @property id The provider-assigned unique ID for this managed resource.
 * @property publicKeys
 * @property versions A list of all the retrieved crypto key versions from the provided crypto key. This list is influenced by the provided filter argument.
 */
public data class GetCryptoKeyVersionsResult(
    public val cryptoKey: String,
    public val filter: String? = null,
    public val id: String,
    public val publicKeys: List,
    public val versions: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.kms.outputs.GetCryptoKeyVersionsResult): GetCryptoKeyVersionsResult = GetCryptoKeyVersionsResult(
            cryptoKey = javaType.cryptoKey(),
            filter = javaType.filter().map({ args0 -> args0 }).orElse(null),
            id = javaType.id(),
            publicKeys = javaType.publicKeys().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.kms.kotlin.outputs.GetCryptoKeyVersionsPublicKey.Companion.toKotlin(args0)
                })
            }),
            versions = javaType.versions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.kms.kotlin.outputs.GetCryptoKeyVersionsVersion.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy