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

com.pulumi.azure.cdn.kotlin.outputs.EndpointCustomDomainUserManagedHttps.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.cdn.kotlin.outputs

import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property keyVaultCertificateId The ID of the Key Vault Certificate that contains the HTTPS certificate. This is deprecated in favor of `key_vault_secret_id`.
 * @property keyVaultSecretId The ID of the Key Vault Secret that contains the HTTPS certificate.
 * > **NOTE** Either `key_vault_certificate_id` or `key_vault_secret_id` has to be specified.
 * @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 EndpointCustomDomainUserManagedHttps(
    @Deprecated(
        message = """
  This is deprecated in favor of `key_vault_secret_id` as the service is actually looking for a
      secret, not a certificate
  """,
    )
    public val keyVaultCertificateId: String? = null,
    public val keyVaultSecretId: String? = null,
    public val tlsVersion: String? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.cdn.outputs.EndpointCustomDomainUserManagedHttps):
            EndpointCustomDomainUserManagedHttps = EndpointCustomDomainUserManagedHttps(
            keyVaultCertificateId = javaType.keyVaultCertificateId().map({ args0 -> args0 }).orElse(null),
            keyVaultSecretId = javaType.keyVaultSecretId().map({ args0 -> args0 }).orElse(null),
            tlsVersion = javaType.tlsVersion().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy