com.pulumi.gcp.firebase.kotlin.outputs.HostingCustomDomainCert.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.firebase.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property state The state of the certificate. Only the `CERT_ACTIVE` and
* `CERT_EXPIRING_SOON` states provide SSL coverage for a domain name. If the
* state is `PROPAGATING` and Hosting had an active cert for the domain name
* before, that formerly-active cert provides SSL coverage for the domain name
* until the current cert propagates.
* @property type The record's type, which determines what data the record contains.
* @property verification A set of ACME challenges you can add to your DNS records or existing,
* non-Hosting hosting provider to allow Hosting to create an SSL certificate
* for your domain name before you point traffic toward hosting. You can use
* thse challenges as part of a zero downtime transition from your old
* provider to Hosting.
* Structure is documented below.
*/
public data class HostingCustomDomainCert(
public val state: String? = null,
public val type: String? = null,
public val verification: HostingCustomDomainCertVerification? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.firebase.outputs.HostingCustomDomainCert): HostingCustomDomainCert = HostingCustomDomainCert(
state = javaType.state().map({ args0 -> args0 }).orElse(null),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
verification = javaType.verification().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.firebase.kotlin.outputs.HostingCustomDomainCertVerification.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy