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

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

package com.pulumi.cloudflare.kotlin.outputs

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

/**
 * A collection of values returned by getOriginCaCertificate.
 * @property certificate The Origin CA certificate.
 * @property expiresOn The timestamp when the certificate will expire.
 * @property hostnames A list of hostnames or wildcard names bound to the certificate.
 * @property id The Origin CA Certificate unique identifier.
 * @property requestType The signature type desired on the certificate. Available values: `origin-rsa`, `origin-ecc`, `keyless-certificate`
 * @property revokedAt The timestamp when the certificate was revoked.
 */
public data class GetOriginCaCertificateResult(
    public val certificate: String,
    public val expiresOn: String,
    public val hostnames: List,
    public val id: String,
    public val requestType: String,
    public val revokedAt: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.GetOriginCaCertificateResult): GetOriginCaCertificateResult = GetOriginCaCertificateResult(
            certificate = javaType.certificate(),
            expiresOn = javaType.expiresOn(),
            hostnames = javaType.hostnames().map({ args0 -> args0 }),
            id = javaType.id(),
            requestType = javaType.requestType(),
            revokedAt = javaType.revokedAt(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy