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

com.pulumi.gcp.certificatemanager.kotlin.outputs.CertificateManaged.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.certificatemanager.kotlin.outputs

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

/**
 *
 * @property authorizationAttemptInfos (Output)
 * Detailed state of the latest authorization attempt for each domain
 * specified for this Managed Certificate.
 * Structure is documented below.
 * The `provisioning_issue` block contains:
 * @property dnsAuthorizations Authorizations that will be used for performing domain authorization. Either issuanceConfig or dnsAuthorizations should be specificed, but not both.
 * @property domains The domains for which a managed SSL certificate will be generated.
 * Wildcard domains are only supported with DNS challenge resolution
 * @property issuanceConfig The resource name for a CertificateIssuanceConfig used to configure private PKI certificates in the format projects/*/locations/*/certificateIssuanceConfigs/*.
 * If this field is not set, the certificates will instead be publicly signed as documented at https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
 * Either issuanceConfig or dnsAuthorizations should be specificed, but not both.
 * @property provisioningIssues (Output)
 * Information about issues with provisioning this Managed Certificate.
 * Structure is documented below.
 * @property state (Output)
 * State of the domain for managed certificate issuance.
 * */*/*/
 */
public data class CertificateManaged(
    public val authorizationAttemptInfos: List? = null,
    public val dnsAuthorizations: List? = null,
    public val domains: List? = null,
    public val issuanceConfig: String? = null,
    public val provisioningIssues: List? = null,
    public val state: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.certificatemanager.outputs.CertificateManaged): CertificateManaged = CertificateManaged(
            authorizationAttemptInfos = javaType.authorizationAttemptInfos().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.certificatemanager.kotlin.outputs.CertificateManagedAuthorizationAttemptInfo.Companion.toKotlin(args0)
                })
            }),
            dnsAuthorizations = javaType.dnsAuthorizations().map({ args0 -> args0 }),
            domains = javaType.domains().map({ args0 -> args0 }),
            issuanceConfig = javaType.issuanceConfig().map({ args0 -> args0 }).orElse(null),
            provisioningIssues = javaType.provisioningIssues().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.certificatemanager.kotlin.outputs.CertificateManagedProvisioningIssue.Companion.toKotlin(args0)
                })
            }),
            state = javaType.state().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy