
com.pulumi.azure.cdn.kotlin.inputs.EndpointCustomDomainCdnManagedHttpsArgs.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.cdn.kotlin.inputs
import com.pulumi.azure.cdn.inputs.EndpointCustomDomainCdnManagedHttpsArgs.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 certificateType The type of HTTPS certificate. Possible values are `Shared` and `Dedicated`.
* @property protocolType The type of protocol. Possible values are `ServerNameIndication` and `IPBased`.
* @property tlsVersion The minimum TLS protocol version that is used for HTTPS. Possible values are `TLS10` (representing TLS 1.0/1.1), `TLS12` (representing TLS 1.2) and `None` (representing no minimums). Defaults to `TLS12`.
*/
public data class EndpointCustomDomainCdnManagedHttpsArgs(
public val certificateType: Output,
public val protocolType: Output,
public val tlsVersion: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cdn.inputs.EndpointCustomDomainCdnManagedHttpsArgs =
com.pulumi.azure.cdn.inputs.EndpointCustomDomainCdnManagedHttpsArgs.builder()
.certificateType(certificateType.applyValue({ args0 -> args0 }))
.protocolType(protocolType.applyValue({ args0 -> args0 }))
.tlsVersion(tlsVersion?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EndpointCustomDomainCdnManagedHttpsArgs].
*/
@PulumiTagMarker
public class EndpointCustomDomainCdnManagedHttpsArgsBuilder internal constructor() {
private var certificateType: Output? = null
private var protocolType: Output? = null
private var tlsVersion: Output? = null
/**
* @param value The type of HTTPS certificate. Possible values are `Shared` and `Dedicated`.
*/
@JvmName("mmelxxesbawjjkrf")
public suspend fun certificateType(`value`: Output) {
this.certificateType = value
}
/**
* @param value The type of protocol. Possible values are `ServerNameIndication` and `IPBased`.
*/
@JvmName("rxsynnmdwdesdnst")
public suspend fun protocolType(`value`: Output) {
this.protocolType = value
}
/**
* @param value The minimum TLS protocol version that is used for HTTPS. Possible values are `TLS10` (representing TLS 1.0/1.1), `TLS12` (representing TLS 1.2) and `None` (representing no minimums). Defaults to `TLS12`.
*/
@JvmName("hnyoknmogydgseoo")
public suspend fun tlsVersion(`value`: Output) {
this.tlsVersion = value
}
/**
* @param value The type of HTTPS certificate. Possible values are `Shared` and `Dedicated`.
*/
@JvmName("jprdmdpjygkjehaf")
public suspend fun certificateType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.certificateType = mapped
}
/**
* @param value The type of protocol. Possible values are `ServerNameIndication` and `IPBased`.
*/
@JvmName("pwcdlnkbvknwoirb")
public suspend fun protocolType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.protocolType = mapped
}
/**
* @param value The minimum TLS protocol version that is used for HTTPS. Possible values are `TLS10` (representing TLS 1.0/1.1), `TLS12` (representing TLS 1.2) and `None` (representing no minimums). Defaults to `TLS12`.
*/
@JvmName("rfpgaovffpilpkuu")
public suspend fun tlsVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tlsVersion = mapped
}
internal fun build(): EndpointCustomDomainCdnManagedHttpsArgs =
EndpointCustomDomainCdnManagedHttpsArgs(
certificateType = certificateType ?: throw PulumiNullFieldException("certificateType"),
protocolType = protocolType ?: throw PulumiNullFieldException("protocolType"),
tlsVersion = tlsVersion,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy