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

com.pulumi.nomad.kotlin.outputs.GetJwksResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.nomad.kotlin.outputs

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

/**
 * A collection of values returned by getJwks.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property keys `list of maps` a list of JWK keys in structured format: see [RFC7517](https://datatracker.ietf.org/doc/html/rfc7517) for the
 * JWK field meanings.
 * @property pemKeys `list of strings` a list JWK keys rendered as PEM-encoded X.509 keys
 */
public data class GetJwksResult(
    public val id: String,
    public val keys: List,
    public val pemKeys: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.nomad.outputs.GetJwksResult): GetJwksResult =
            GetJwksResult(
                id = javaType.id(),
                keys = javaType.keys().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.nomad.kotlin.outputs.GetJwksKey.Companion.toKotlin(args0)
                    })
                }),
                pemKeys = javaType.pemKeys().map({ args0 -> args0 }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy