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

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

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

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getKey.
 * @property curve The EC Curve name of this Key Vault Key.
 * @property e The RSA public exponent of this Key Vault Key.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property keyOpts A list of JSON web key operations assigned to this Key Vault Key
 * @property keySize Specifies the Size of this Key Vault Key.
 * @property keyType Specifies the Key Type of this Key Vault Key
 * @property keyVaultId
 * @property n The RSA modulus of this Key Vault Key.
 * @property name
 * @property publicKeyOpenssh The OpenSSH encoded public key of this Key Vault Key.
 * @property publicKeyPem The PEM encoded public key of this Key Vault Key.
 * @property resourceId The (Versioned) ID for this Key Vault Key. This property points to a specific version of a Key Vault Key, as such using this won't auto-rotate values if used in other Azure Services.
 * @property resourceVersionlessId The Versionless ID of the Key Vault Key. This property allows other Azure Services (that support it) to auto-rotate their value when the Key Vault Key is updated.
 * @property tags A mapping of tags assigned to this Key Vault Key.
 * @property version The current version of the Key Vault Key.
 * @property versionlessId The Base ID of the Key Vault Key.
 * @property x The EC X component of this Key Vault Key.
 * @property y The EC Y component of this Key Vault Key.
 */
public data class GetKeyResult(
    public val curve: String,
    public val e: String,
    public val id: String,
    public val keyOpts: List,
    public val keySize: Int,
    public val keyType: String,
    public val keyVaultId: String,
    public val n: String,
    public val name: String,
    public val publicKeyOpenssh: String,
    public val publicKeyPem: String,
    public val resourceId: String,
    public val resourceVersionlessId: String,
    public val tags: Map,
    public val version: String,
    public val versionlessId: String,
    public val x: String,
    public val y: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.GetKeyResult): GetKeyResult =
            GetKeyResult(
                curve = javaType.curve(),
                e = javaType.e(),
                id = javaType.id(),
                keyOpts = javaType.keyOpts().map({ args0 -> args0 }),
                keySize = javaType.keySize(),
                keyType = javaType.keyType(),
                keyVaultId = javaType.keyVaultId(),
                n = javaType.n(),
                name = javaType.name(),
                publicKeyOpenssh = javaType.publicKeyOpenssh(),
                publicKeyPem = javaType.publicKeyPem(),
                resourceId = javaType.resourceId(),
                resourceVersionlessId = javaType.resourceVersionlessId(),
                tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
                version = javaType.version(),
                versionlessId = javaType.versionlessId(),
                x = javaType.x(),
                y = javaType.y(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy