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

com.pulumi.azure.keyvault.kotlin.outputs.GetCertificateDataResult.kt Maven / Gradle / Ivy

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

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

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

/**
 * A collection of values returned by getCertificateData.
 * @property certificatesCount Amount of certificates in the chain in case Key Vault Certificate is a bundle (e.g. has an intermediate certificate).
 * @property expires Expiry date of certificate in RFC3339 format.
 * @property hex The raw Key Vault Certificate data represented as a hexadecimal string.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property key The Key Vault Certificate Key.
 * @property keyVaultId
 * @property name
 * @property notBefore Not Before date of certificate in RFC3339 format.
 * @property pem The Key Vault Certificate in PEM format.
 * @property tags A mapping of tags to assign to the resource.
 * @property version
 */
public data class GetCertificateDataResult(
    public val certificatesCount: Int,
    public val expires: String,
    public val hex: String,
    public val id: String,
    public val key: String,
    public val keyVaultId: String,
    public val name: String,
    public val notBefore: String,
    public val pem: String,
    public val tags: Map,
    public val version: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.GetCertificateDataResult): GetCertificateDataResult = GetCertificateDataResult(
            certificatesCount = javaType.certificatesCount(),
            expires = javaType.expires(),
            hex = javaType.hex(),
            id = javaType.id(),
            key = javaType.key(),
            keyVaultId = javaType.keyVaultId(),
            name = javaType.name(),
            notBefore = javaType.notBefore(),
            pem = javaType.pem(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            version = javaType.version(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy