![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.cdn.kotlin.inputs.EndpointCustomDomainUserManagedHttpsArgs.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.EndpointCustomDomainUserManagedHttpsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @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 EndpointCustomDomainUserManagedHttpsArgs(
@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: Output? = null,
public val keyVaultSecretId: Output? = null,
public val tlsVersion: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cdn.inputs.EndpointCustomDomainUserManagedHttpsArgs =
com.pulumi.azure.cdn.inputs.EndpointCustomDomainUserManagedHttpsArgs.builder()
.keyVaultCertificateId(keyVaultCertificateId?.applyValue({ args0 -> args0 }))
.keyVaultSecretId(keyVaultSecretId?.applyValue({ args0 -> args0 }))
.tlsVersion(tlsVersion?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EndpointCustomDomainUserManagedHttpsArgs].
*/
@PulumiTagMarker
public class EndpointCustomDomainUserManagedHttpsArgsBuilder internal constructor() {
private var keyVaultCertificateId: Output? = null
private var keyVaultSecretId: Output? = null
private var tlsVersion: Output? = null
/**
* @param value The ID of the Key Vault Certificate that contains the HTTPS certificate. This is deprecated in favor of `key_vault_secret_id`.
*/
@Deprecated(
message = """
This is deprecated in favor of `key_vault_secret_id` as the service is actually looking for a
secret, not a certificate
""",
)
@JvmName("oguqpvlletfwbrmd")
public suspend fun keyVaultCertificateId(`value`: Output) {
this.keyVaultCertificateId = value
}
/**
* @param value 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.
*/
@JvmName("eqnaetdekwlvabdk")
public suspend fun keyVaultSecretId(`value`: Output) {
this.keyVaultSecretId = 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("dsfncdfbhetjkjwn")
public suspend fun tlsVersion(`value`: Output) {
this.tlsVersion = value
}
/**
* @param value The ID of the Key Vault Certificate that contains the HTTPS certificate. This is deprecated in favor of `key_vault_secret_id`.
*/
@Deprecated(
message = """
This is deprecated in favor of `key_vault_secret_id` as the service is actually looking for a
secret, not a certificate
""",
)
@JvmName("gubabpybkfrlpadk")
public suspend fun keyVaultCertificateId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.keyVaultCertificateId = mapped
}
/**
* @param value 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.
*/
@JvmName("abvxukfdoqmxmmkj")
public suspend fun keyVaultSecretId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.keyVaultSecretId = 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("xlgrwgrxbnjqyudq")
public suspend fun tlsVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tlsVersion = mapped
}
internal fun build(): EndpointCustomDomainUserManagedHttpsArgs =
EndpointCustomDomainUserManagedHttpsArgs(
keyVaultCertificateId = keyVaultCertificateId,
keyVaultSecretId = keyVaultSecretId,
tlsVersion = tlsVersion,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy