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

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

package com.pulumi.azure.frontdoor.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 CustomHttpsConfigurationCustomHttpsConfiguration(
    public val azureKeyVaultCertificateSecretName: String? = null,
    public val azureKeyVaultCertificateSecretVersion: String? = null,
    public val azureKeyVaultCertificateVaultId: String? = null,
    public val certificateSource: String? = null,
    public val minimumTlsVersion: String? = null,
    public val provisioningState: String? = null,
    public val provisioningSubstate: String? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.frontdoor.outputs.CustomHttpsConfigurationCustomHttpsConfiguration):
            CustomHttpsConfigurationCustomHttpsConfiguration =
            CustomHttpsConfigurationCustomHttpsConfiguration(
                azureKeyVaultCertificateSecretName = javaType.azureKeyVaultCertificateSecretName().map({ args0 ->
                    args0
                }).orElse(null),
                azureKeyVaultCertificateSecretVersion = javaType.azureKeyVaultCertificateSecretVersion().map({ args0 ->
                    args0
                }).orElse(null),
                azureKeyVaultCertificateVaultId = javaType.azureKeyVaultCertificateVaultId().map({ args0 ->
                    args0
                }).orElse(null),
                certificateSource = javaType.certificateSource().map({ args0 -> args0 }).orElse(null),
                minimumTlsVersion = javaType.minimumTlsVersion().map({ args0 -> args0 }).orElse(null),
                provisioningState = javaType.provisioningState().map({ args0 -> args0 }).orElse(null),
                provisioningSubstate = javaType.provisioningSubstate().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy