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

com.pulumi.digitalocean.kotlin.outputs.GetCertificateResult.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: 4.38.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.digitalocean.kotlin.outputs

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

/**
 * A collection of values returned by getCertificate.
 * @property domains Domains for which the certificate was issued.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property name
 * @property notAfter The expiration date and time of the certificate.
 * @property sha1Fingerprint The SHA1 fingerprint of the certificate.
 * @property state the current state of the certificate.
 * @property type The type of the certificate.
 * @property uuid The ID of the certificate.
 */
public data class GetCertificateResult(
    public val domains: List,
    public val id: String,
    public val name: String,
    public val notAfter: String,
    public val sha1Fingerprint: String,
    public val state: String,
    public val type: String,
    public val uuid: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetCertificateResult): GetCertificateResult = GetCertificateResult(
            domains = javaType.domains().map({ args0 -> args0 }),
            id = javaType.id(),
            name = javaType.name(),
            notAfter = javaType.notAfter(),
            sha1Fingerprint = javaType.sha1Fingerprint(),
            state = javaType.state(),
            type = javaType.type(),
            uuid = javaType.uuid(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy