com.pulumi.azure.apimanagement.kotlin.inputs.BackendTlsArgs.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.apimanagement.kotlin.inputs
import com.pulumi.azure.apimanagement.inputs.BackendTlsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property validateCertificateChain Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for the backend host.
* @property validateCertificateName Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for the backend host.
*/
public data class BackendTlsArgs(
public val validateCertificateChain: Output? = null,
public val validateCertificateName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.apimanagement.inputs.BackendTlsArgs =
com.pulumi.azure.apimanagement.inputs.BackendTlsArgs.builder()
.validateCertificateChain(validateCertificateChain?.applyValue({ args0 -> args0 }))
.validateCertificateName(validateCertificateName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BackendTlsArgs].
*/
@PulumiTagMarker
public class BackendTlsArgsBuilder internal constructor() {
private var validateCertificateChain: Output? = null
private var validateCertificateName: Output? = null
/**
* @param value Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for the backend host.
*/
@JvmName("tiibfwwqlburoyxk")
public suspend fun validateCertificateChain(`value`: Output) {
this.validateCertificateChain = value
}
/**
* @param value Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for the backend host.
*/
@JvmName("cfqxadoiflcvbgia")
public suspend fun validateCertificateName(`value`: Output) {
this.validateCertificateName = value
}
/**
* @param value Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for the backend host.
*/
@JvmName("puagichvxbvsoajv")
public suspend fun validateCertificateChain(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.validateCertificateChain = mapped
}
/**
* @param value Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for the backend host.
*/
@JvmName("nreiohkqdkaajrua")
public suspend fun validateCertificateName(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.validateCertificateName = mapped
}
internal fun build(): BackendTlsArgs = BackendTlsArgs(
validateCertificateChain = validateCertificateChain,
validateCertificateName = validateCertificateName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy