com.pulumi.azure.apimanagement.kotlin.inputs.CustomDomainScmArgs.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.apimanagement.kotlin.inputs
import com.pulumi.azure.apimanagement.inputs.CustomDomainScmArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property certificate The Base64 Encoded Certificate. (Mutually exclusive with `key_vault_id`.)
* @property certificatePassword The password associated with the certificate provided above.
* @property certificateSource
* @property certificateStatus
* @property expiry
* @property hostName The Hostname to use for the corresponding endpoint.
* @property keyVaultId The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type application/x-pkcs12.
* @property negotiateClientCertificate Should Client Certificate Negotiation be enabled for this Hostname? Defaults to `false`.
* @property sslKeyvaultIdentityClientId System or User Assigned Managed identity clientId as generated by Azure AD, which has `GET` access to the keyVault containing the SSL certificate.
* > **NOTE:** If a User Assigned Managed identity is specified for `ssl_keyvault_identity_client_id` then this identity must be associated to the `azure.apimanagement.Service` within an `identity` block.
* @property subject
* @property thumbprint
*/
public data class CustomDomainScmArgs(
public val certificate: Output? = null,
public val certificatePassword: Output? = null,
public val certificateSource: Output? = null,
public val certificateStatus: Output? = null,
public val expiry: Output? = null,
public val hostName: Output,
public val keyVaultId: Output? = null,
public val negotiateClientCertificate: Output? = null,
public val sslKeyvaultIdentityClientId: Output? = null,
public val subject: Output? = null,
public val thumbprint: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.apimanagement.inputs.CustomDomainScmArgs =
com.pulumi.azure.apimanagement.inputs.CustomDomainScmArgs.builder()
.certificate(certificate?.applyValue({ args0 -> args0 }))
.certificatePassword(certificatePassword?.applyValue({ args0 -> args0 }))
.certificateSource(certificateSource?.applyValue({ args0 -> args0 }))
.certificateStatus(certificateStatus?.applyValue({ args0 -> args0 }))
.expiry(expiry?.applyValue({ args0 -> args0 }))
.hostName(hostName.applyValue({ args0 -> args0 }))
.keyVaultId(keyVaultId?.applyValue({ args0 -> args0 }))
.negotiateClientCertificate(negotiateClientCertificate?.applyValue({ args0 -> args0 }))
.sslKeyvaultIdentityClientId(sslKeyvaultIdentityClientId?.applyValue({ args0 -> args0 }))
.subject(subject?.applyValue({ args0 -> args0 }))
.thumbprint(thumbprint?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CustomDomainScmArgs].
*/
@PulumiTagMarker
public class CustomDomainScmArgsBuilder internal constructor() {
private var certificate: Output? = null
private var certificatePassword: Output? = null
private var certificateSource: Output? = null
private var certificateStatus: Output? = null
private var expiry: Output? = null
private var hostName: Output? = null
private var keyVaultId: Output? = null
private var negotiateClientCertificate: Output? = null
private var sslKeyvaultIdentityClientId: Output? = null
private var subject: Output? = null
private var thumbprint: Output? = null
/**
* @param value The Base64 Encoded Certificate. (Mutually exclusive with `key_vault_id`.)
*/
@JvmName("ubygaiivquutuyde")
public suspend fun certificate(`value`: Output) {
this.certificate = value
}
/**
* @param value The password associated with the certificate provided above.
*/
@JvmName("sepmxjlvkghojswt")
public suspend fun certificatePassword(`value`: Output) {
this.certificatePassword = value
}
/**
* @param value
*/
@JvmName("phytnqpssgajcspc")
public suspend fun certificateSource(`value`: Output) {
this.certificateSource = value
}
/**
* @param value
*/
@JvmName("eqxmqbvkqubogknm")
public suspend fun certificateStatus(`value`: Output) {
this.certificateStatus = value
}
/**
* @param value
*/
@JvmName("cqlhvcajdxcmjisq")
public suspend fun expiry(`value`: Output) {
this.expiry = value
}
/**
* @param value The Hostname to use for the corresponding endpoint.
*/
@JvmName("kewjxfymyyratlsu")
public suspend fun hostName(`value`: Output) {
this.hostName = value
}
/**
* @param value The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type application/x-pkcs12.
*/
@JvmName("lckysdooenjaeuhn")
public suspend fun keyVaultId(`value`: Output) {
this.keyVaultId = value
}
/**
* @param value Should Client Certificate Negotiation be enabled for this Hostname? Defaults to `false`.
*/
@JvmName("chhewytkfmnqrcho")
public suspend fun negotiateClientCertificate(`value`: Output) {
this.negotiateClientCertificate = value
}
/**
* @param value System or User Assigned Managed identity clientId as generated by Azure AD, which has `GET` access to the keyVault containing the SSL certificate.
* > **NOTE:** If a User Assigned Managed identity is specified for `ssl_keyvault_identity_client_id` then this identity must be associated to the `azure.apimanagement.Service` within an `identity` block.
*/
@JvmName("suhudejbcgbdlpam")
public suspend fun sslKeyvaultIdentityClientId(`value`: Output) {
this.sslKeyvaultIdentityClientId = value
}
/**
* @param value
*/
@JvmName("bsmrnaqxywtwemcp")
public suspend fun subject(`value`: Output) {
this.subject = value
}
/**
* @param value
*/
@JvmName("ebfceshbqmynuodo")
public suspend fun thumbprint(`value`: Output) {
this.thumbprint = value
}
/**
* @param value The Base64 Encoded Certificate. (Mutually exclusive with `key_vault_id`.)
*/
@JvmName("jkrvxpqwhqiawpoj")
public suspend fun certificate(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certificate = mapped
}
/**
* @param value The password associated with the certificate provided above.
*/
@JvmName("yicyqstfnkhvrqev")
public suspend fun certificatePassword(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certificatePassword = mapped
}
/**
* @param value
*/
@JvmName("qyetaudokgyhichj")
public suspend fun certificateSource(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certificateSource = mapped
}
/**
* @param value
*/
@JvmName("peylxgfptaxcrwou")
public suspend fun certificateStatus(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certificateStatus = mapped
}
/**
* @param value
*/
@JvmName("paretcvttacuuybp")
public suspend fun expiry(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.expiry = mapped
}
/**
* @param value The Hostname to use for the corresponding endpoint.
*/
@JvmName("jduyqdwntafluomq")
public suspend fun hostName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.hostName = mapped
}
/**
* @param value The ID of the Key Vault Secret containing the SSL Certificate, which must be should be of the type application/x-pkcs12.
*/
@JvmName("qttcxttixsgmlyab")
public suspend fun keyVaultId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.keyVaultId = mapped
}
/**
* @param value Should Client Certificate Negotiation be enabled for this Hostname? Defaults to `false`.
*/
@JvmName("ydltwuaxjimwajjp")
public suspend fun negotiateClientCertificate(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.negotiateClientCertificate = mapped
}
/**
* @param value System or User Assigned Managed identity clientId as generated by Azure AD, which has `GET` access to the keyVault containing the SSL certificate.
* > **NOTE:** If a User Assigned Managed identity is specified for `ssl_keyvault_identity_client_id` then this identity must be associated to the `azure.apimanagement.Service` within an `identity` block.
*/
@JvmName("ciwgbljqfknhpnhc")
public suspend fun sslKeyvaultIdentityClientId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sslKeyvaultIdentityClientId = mapped
}
/**
* @param value
*/
@JvmName("kqlnkbivivlrusrl")
public suspend fun subject(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.subject = mapped
}
/**
* @param value
*/
@JvmName("hftggbrereocjptf")
public suspend fun thumbprint(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.thumbprint = mapped
}
internal fun build(): CustomDomainScmArgs = CustomDomainScmArgs(
certificate = certificate,
certificatePassword = certificatePassword,
certificateSource = certificateSource,
certificateStatus = certificateStatus,
expiry = expiry,
hostName = hostName ?: throw PulumiNullFieldException("hostName"),
keyVaultId = keyVaultId,
negotiateClientCertificate = negotiateClientCertificate,
sslKeyvaultIdentityClientId = sslKeyvaultIdentityClientId,
subject = subject,
thumbprint = thumbprint,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy