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

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

package com.pulumi.azure.frontdoor.kotlin.inputs

import com.pulumi.azure.frontdoor.inputs.CustomHttpsConfigurationCustomHttpsConfigurationArgs.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 azureKeyVaultCertificateSecretName The name of the Key Vault secret representing the full certificate PFX.
 * @property azureKeyVaultCertificateSecretVersion The version of the Key Vault secret representing the full certificate PFX.
 * > **Note:** In order to enable the use of your own custom `HTTPS certificate` you must grant `Azure Front Door Service` access to your key vault. For instructions on how to configure your `Key Vault` correctly please refer to the [product documentation](https://docs.microsoft.com/azure/frontdoor/front-door-custom-domain-https#option-2-use-your-own-certificate).
 * @property azureKeyVaultCertificateVaultId The ID of the Key Vault containing the SSL certificate.
 * @property certificateSource Certificate source to encrypted `HTTPS` traffic with. Allowed values are `FrontDoor` or `AzureKeyVault`. Defaults to `FrontDoor`.
 * The following attributes are only valid if `certificate_source` is set to `AzureKeyVault`:
 * @property minimumTlsVersion Minimum client TLS version supported.
 * @property provisioningState
 * @property provisioningSubstate
 */
public data class CustomHttpsConfigurationCustomHttpsConfigurationArgs(
    public val azureKeyVaultCertificateSecretName: Output? = null,
    public val azureKeyVaultCertificateSecretVersion: Output? = null,
    public val azureKeyVaultCertificateVaultId: Output? = null,
    public val certificateSource: Output? = null,
    public val minimumTlsVersion: Output? = null,
    public val provisioningState: Output? = null,
    public val provisioningSubstate: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.frontdoor.inputs.CustomHttpsConfigurationCustomHttpsConfigurationArgs =
        com.pulumi.azure.frontdoor.inputs.CustomHttpsConfigurationCustomHttpsConfigurationArgs.builder()
            .azureKeyVaultCertificateSecretName(
                azureKeyVaultCertificateSecretName?.applyValue({ args0 ->
                    args0
                }),
            )
            .azureKeyVaultCertificateSecretVersion(
                azureKeyVaultCertificateSecretVersion?.applyValue({ args0 ->
                    args0
                }),
            )
            .azureKeyVaultCertificateVaultId(azureKeyVaultCertificateVaultId?.applyValue({ args0 -> args0 }))
            .certificateSource(certificateSource?.applyValue({ args0 -> args0 }))
            .minimumTlsVersion(minimumTlsVersion?.applyValue({ args0 -> args0 }))
            .provisioningState(provisioningState?.applyValue({ args0 -> args0 }))
            .provisioningSubstate(provisioningSubstate?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CustomHttpsConfigurationCustomHttpsConfigurationArgs].
 */
@PulumiTagMarker
public class CustomHttpsConfigurationCustomHttpsConfigurationArgsBuilder internal constructor() {
    private var azureKeyVaultCertificateSecretName: Output? = null

    private var azureKeyVaultCertificateSecretVersion: Output? = null

    private var azureKeyVaultCertificateVaultId: Output? = null

    private var certificateSource: Output? = null

    private var minimumTlsVersion: Output? = null

    private var provisioningState: Output? = null

    private var provisioningSubstate: Output? = null

    /**
     * @param value The name of the Key Vault secret representing the full certificate PFX.
     */
    @JvmName("tbxpopvkhlvcagbn")
    public suspend fun azureKeyVaultCertificateSecretName(`value`: Output) {
        this.azureKeyVaultCertificateSecretName = value
    }

    /**
     * @param value The version of the Key Vault secret representing the full certificate PFX.
     * > **Note:** In order to enable the use of your own custom `HTTPS certificate` you must grant `Azure Front Door Service` access to your key vault. For instructions on how to configure your `Key Vault` correctly please refer to the [product documentation](https://docs.microsoft.com/azure/frontdoor/front-door-custom-domain-https#option-2-use-your-own-certificate).
     */
    @JvmName("xfmpkgsgmmicswtl")
    public suspend fun azureKeyVaultCertificateSecretVersion(`value`: Output) {
        this.azureKeyVaultCertificateSecretVersion = value
    }

    /**
     * @param value The ID of the Key Vault containing the SSL certificate.
     */
    @JvmName("qejdkiypnruugjwf")
    public suspend fun azureKeyVaultCertificateVaultId(`value`: Output) {
        this.azureKeyVaultCertificateVaultId = value
    }

    /**
     * @param value Certificate source to encrypted `HTTPS` traffic with. Allowed values are `FrontDoor` or `AzureKeyVault`. Defaults to `FrontDoor`.
     * The following attributes are only valid if `certificate_source` is set to `AzureKeyVault`:
     */
    @JvmName("gmuedpavxhlswumy")
    public suspend fun certificateSource(`value`: Output) {
        this.certificateSource = value
    }

    /**
     * @param value Minimum client TLS version supported.
     */
    @JvmName("yqctxawftqiplugo")
    public suspend fun minimumTlsVersion(`value`: Output) {
        this.minimumTlsVersion = value
    }

    /**
     * @param value
     */
    @JvmName("ewvytcssgyfkipce")
    public suspend fun provisioningState(`value`: Output) {
        this.provisioningState = value
    }

    /**
     * @param value
     */
    @JvmName("fxixwudqrdxhchpy")
    public suspend fun provisioningSubstate(`value`: Output) {
        this.provisioningSubstate = value
    }

    /**
     * @param value The name of the Key Vault secret representing the full certificate PFX.
     */
    @JvmName("ihjqedxwxwpddwab")
    public suspend fun azureKeyVaultCertificateSecretName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.azureKeyVaultCertificateSecretName = mapped
    }

    /**
     * @param value The version of the Key Vault secret representing the full certificate PFX.
     * > **Note:** In order to enable the use of your own custom `HTTPS certificate` you must grant `Azure Front Door Service` access to your key vault. For instructions on how to configure your `Key Vault` correctly please refer to the [product documentation](https://docs.microsoft.com/azure/frontdoor/front-door-custom-domain-https#option-2-use-your-own-certificate).
     */
    @JvmName("vuymebmiibntvnbx")
    public suspend fun azureKeyVaultCertificateSecretVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.azureKeyVaultCertificateSecretVersion = mapped
    }

    /**
     * @param value The ID of the Key Vault containing the SSL certificate.
     */
    @JvmName("idvivlnjmdekfuyl")
    public suspend fun azureKeyVaultCertificateVaultId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.azureKeyVaultCertificateVaultId = mapped
    }

    /**
     * @param value Certificate source to encrypted `HTTPS` traffic with. Allowed values are `FrontDoor` or `AzureKeyVault`. Defaults to `FrontDoor`.
     * The following attributes are only valid if `certificate_source` is set to `AzureKeyVault`:
     */
    @JvmName("asucgidwesvghjei")
    public suspend fun certificateSource(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificateSource = mapped
    }

    /**
     * @param value Minimum client TLS version supported.
     */
    @JvmName("jukaspmdhivikuxv")
    public suspend fun minimumTlsVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minimumTlsVersion = mapped
    }

    /**
     * @param value
     */
    @JvmName("ardkblwymgqwbgqo")
    public suspend fun provisioningState(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.provisioningState = mapped
    }

    /**
     * @param value
     */
    @JvmName("lpukqjhbtusoavhs")
    public suspend fun provisioningSubstate(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.provisioningSubstate = mapped
    }

    internal fun build(): CustomHttpsConfigurationCustomHttpsConfigurationArgs =
        CustomHttpsConfigurationCustomHttpsConfigurationArgs(
            azureKeyVaultCertificateSecretName = azureKeyVaultCertificateSecretName,
            azureKeyVaultCertificateSecretVersion = azureKeyVaultCertificateSecretVersion,
            azureKeyVaultCertificateVaultId = azureKeyVaultCertificateVaultId,
            certificateSource = certificateSource,
            minimumTlsVersion = minimumTlsVersion,
            provisioningState = provisioningState,
            provisioningSubstate = provisioningSubstate,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy