![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.cdn.kotlin.inputs.CustomerCertificateParametersArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.cdn.kotlin.inputs
import com.pulumi.azurenative.cdn.inputs.CustomerCertificateParametersArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Customer Certificate used for https
* @property secretSource Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{certificateName}
* @property secretVersion Version of the secret to be used
* @property subjectAlternativeNames The list of SANs.
* @property type The type of the secret resource.
* Expected value is 'CustomerCertificate'.
* @property useLatestVersion Whether to use the latest version for the certificate
*/
public data class CustomerCertificateParametersArgs(
public val secretSource: Output,
public val secretVersion: Output? = null,
public val subjectAlternativeNames: Output>? = null,
public val type: Output,
public val useLatestVersion: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.cdn.inputs.CustomerCertificateParametersArgs =
com.pulumi.azurenative.cdn.inputs.CustomerCertificateParametersArgs.builder()
.secretSource(secretSource.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.secretVersion(secretVersion?.applyValue({ args0 -> args0 }))
.subjectAlternativeNames(
subjectAlternativeNames?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.type(type.applyValue({ args0 -> args0 }))
.useLatestVersion(useLatestVersion?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CustomerCertificateParametersArgs].
*/
@PulumiTagMarker
public class CustomerCertificateParametersArgsBuilder internal constructor() {
private var secretSource: Output? = null
private var secretVersion: Output? = null
private var subjectAlternativeNames: Output>? = null
private var type: Output? = null
private var useLatestVersion: Output? = null
/**
* @param value Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{certificateName}
*/
@JvmName("olxekifpubpgsfhm")
public suspend fun secretSource(`value`: Output) {
this.secretSource = value
}
/**
* @param value Version of the secret to be used
*/
@JvmName("bwtmfkigdmvqxkqk")
public suspend fun secretVersion(`value`: Output) {
this.secretVersion = value
}
/**
* @param value The list of SANs.
*/
@JvmName("tposjyiiggtsumts")
public suspend fun subjectAlternativeNames(`value`: Output>) {
this.subjectAlternativeNames = value
}
@JvmName("mpyijufuqhwdsuqh")
public suspend fun subjectAlternativeNames(vararg values: Output) {
this.subjectAlternativeNames = Output.all(values.asList())
}
/**
* @param values The list of SANs.
*/
@JvmName("gajjxopobwibpbyc")
public suspend fun subjectAlternativeNames(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy