com.pulumi.azure.containerapp.kotlin.inputs.AppIngressCustomDomainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.containerapp.kotlin.inputs
import com.pulumi.azure.containerapp.inputs.AppIngressCustomDomainArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property certificateBindingType The Binding type. Possible values include `Disabled` and `SniEnabled`. Defaults to `Disabled`.
* @property certificateId The ID of the Container App Environment Certificate.
* @property name The hostname of the Certificate. Must be the CN or a named SAN in the certificate.
*/
public data class AppIngressCustomDomainArgs(
public val certificateBindingType: Output? = null,
public val certificateId: Output,
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerapp.inputs.AppIngressCustomDomainArgs =
com.pulumi.azure.containerapp.inputs.AppIngressCustomDomainArgs.builder()
.certificateBindingType(certificateBindingType?.applyValue({ args0 -> args0 }))
.certificateId(certificateId.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AppIngressCustomDomainArgs].
*/
@PulumiTagMarker
public class AppIngressCustomDomainArgsBuilder internal constructor() {
private var certificateBindingType: Output? = null
private var certificateId: Output? = null
private var name: Output? = null
/**
* @param value The Binding type. Possible values include `Disabled` and `SniEnabled`. Defaults to `Disabled`.
*/
@JvmName("oiygxviiqbtdidmj")
public suspend fun certificateBindingType(`value`: Output) {
this.certificateBindingType = value
}
/**
* @param value The ID of the Container App Environment Certificate.
*/
@JvmName("fkmqlwxjxibuqamu")
public suspend fun certificateId(`value`: Output) {
this.certificateId = value
}
/**
* @param value The hostname of the Certificate. Must be the CN or a named SAN in the certificate.
*/
@JvmName("dvhkalyrcheqiued")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The Binding type. Possible values include `Disabled` and `SniEnabled`. Defaults to `Disabled`.
*/
@JvmName("qrsccqnfsywjrdlr")
public suspend fun certificateBindingType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certificateBindingType = mapped
}
/**
* @param value The ID of the Container App Environment Certificate.
*/
@JvmName("fcejchqckyaufxhv")
public suspend fun certificateId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.certificateId = mapped
}
/**
* @param value The hostname of the Certificate. Must be the CN or a named SAN in the certificate.
*/
@JvmName("hfbvnsfioaqbunul")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): AppIngressCustomDomainArgs = AppIngressCustomDomainArgs(
certificateBindingType = certificateBindingType,
certificateId = certificateId ?: throw PulumiNullFieldException("certificateId"),
name = name ?: throw PulumiNullFieldException("name"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy