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

com.pulumi.azure.cdn.kotlin.inputs.FrontdoorCustomDomainTlsArgs.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: 6.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.cdn.kotlin.inputs

import com.pulumi.azure.cdn.inputs.FrontdoorCustomDomainTlsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property cdnFrontdoorSecretId Resource ID of the Front Door Secret.
 * @property certificateType Defines the source of the SSL certificate. Possible values include `CustomerCertificate` and `ManagedCertificate`. Defaults to `ManagedCertificate`.
 * ->**NOTE:** It may take up to 15 minutes for the Front Door Service to validate the state and Domain ownership of the Custom Domain.
 * @property minimumTlsVersion TLS protocol version that will be used for Https. Possible values include `TLS10` and `TLS12`. Defaults to `TLS12`.
 */
public data class FrontdoorCustomDomainTlsArgs(
    public val cdnFrontdoorSecretId: Output? = null,
    public val certificateType: Output? = null,
    public val minimumTlsVersion: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.cdn.inputs.FrontdoorCustomDomainTlsArgs =
        com.pulumi.azure.cdn.inputs.FrontdoorCustomDomainTlsArgs.builder()
            .cdnFrontdoorSecretId(cdnFrontdoorSecretId?.applyValue({ args0 -> args0 }))
            .certificateType(certificateType?.applyValue({ args0 -> args0 }))
            .minimumTlsVersion(minimumTlsVersion?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FrontdoorCustomDomainTlsArgs].
 */
@PulumiTagMarker
public class FrontdoorCustomDomainTlsArgsBuilder internal constructor() {
    private var cdnFrontdoorSecretId: Output? = null

    private var certificateType: Output? = null

    private var minimumTlsVersion: Output? = null

    /**
     * @param value Resource ID of the Front Door Secret.
     */
    @JvmName("jtmehaiklhflppdb")
    public suspend fun cdnFrontdoorSecretId(`value`: Output) {
        this.cdnFrontdoorSecretId = value
    }

    /**
     * @param value Defines the source of the SSL certificate. Possible values include `CustomerCertificate` and `ManagedCertificate`. Defaults to `ManagedCertificate`.
     * ->**NOTE:** It may take up to 15 minutes for the Front Door Service to validate the state and Domain ownership of the Custom Domain.
     */
    @JvmName("lwlmikwdsttsjhox")
    public suspend fun certificateType(`value`: Output) {
        this.certificateType = value
    }

    /**
     * @param value TLS protocol version that will be used for Https. Possible values include `TLS10` and `TLS12`. Defaults to `TLS12`.
     */
    @JvmName("kivjvrpulphpnqmb")
    public suspend fun minimumTlsVersion(`value`: Output) {
        this.minimumTlsVersion = value
    }

    /**
     * @param value Resource ID of the Front Door Secret.
     */
    @JvmName("ybbhuvahymrfwdbr")
    public suspend fun cdnFrontdoorSecretId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cdnFrontdoorSecretId = mapped
    }

    /**
     * @param value Defines the source of the SSL certificate. Possible values include `CustomerCertificate` and `ManagedCertificate`. Defaults to `ManagedCertificate`.
     * ->**NOTE:** It may take up to 15 minutes for the Front Door Service to validate the state and Domain ownership of the Custom Domain.
     */
    @JvmName("aaurglkgoknkadbx")
    public suspend fun certificateType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificateType = mapped
    }

    /**
     * @param value TLS protocol version that will be used for Https. Possible values include `TLS10` and `TLS12`. Defaults to `TLS12`.
     */
    @JvmName("oigsrttlrjbcuvpj")
    public suspend fun minimumTlsVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minimumTlsVersion = mapped
    }

    internal fun build(): FrontdoorCustomDomainTlsArgs = FrontdoorCustomDomainTlsArgs(
        cdnFrontdoorSecretId = cdnFrontdoorSecretId,
        certificateType = certificateType,
        minimumTlsVersion = minimumTlsVersion,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy