com.pulumi.gcp.certificatemanager.kotlin.inputs.CertificateManagedArgs.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.certificatemanager.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.certificatemanager.inputs.CertificateManagedArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 CertificateManagedArgs(
public val authorizationAttemptInfos: Output>? = null,
public val dnsAuthorizations: Output>? = null,
public val domains: Output>? = null,
public val issuanceConfig: Output? = null,
public val provisioningIssues: Output>? = null,
public val state: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.certificatemanager.inputs.CertificateManagedArgs =
com.pulumi.gcp.certificatemanager.inputs.CertificateManagedArgs.builder()
.authorizationAttemptInfos(
authorizationAttemptInfos?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.dnsAuthorizations(dnsAuthorizations?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.domains(domains?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.issuanceConfig(issuanceConfig?.applyValue({ args0 -> args0 }))
.provisioningIssues(
provisioningIssues?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.state(state?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CertificateManagedArgs].
*/
@PulumiTagMarker
public class CertificateManagedArgsBuilder internal constructor() {
private var authorizationAttemptInfos:
Output>? = null
private var dnsAuthorizations: Output>? = null
private var domains: Output>? = null
private var issuanceConfig: Output? = null
private var provisioningIssues: Output>? = null
private var state: Output? = null
/**
* @param value (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:
*/
@JvmName("aeupkjsxkfsmogvb")
public suspend fun authorizationAttemptInfos(`value`: Output>) {
this.authorizationAttemptInfos = value
}
@JvmName("jutipnwkydhocmyk")
public suspend fun authorizationAttemptInfos(vararg values: Output) {
this.authorizationAttemptInfos = Output.all(values.asList())
}
/**
* @param values (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:
*/
@JvmName("sadndtlfvqmxrfcn")
public suspend fun authorizationAttemptInfos(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy