
com.pulumi.azurenative.apimanagement.kotlin.inputs.CertificateConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.apimanagement.kotlin.inputs
import com.pulumi.azurenative.apimanagement.inputs.CertificateConfigurationArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Certificate configuration which consist of non-trusted intermediates and root certificates.
* @property certificate Certificate information.
* @property certificatePassword Certificate Password.
* @property encodedCertificate Base64 Encoded certificate.
* @property storeName The System.Security.Cryptography.x509certificates.StoreName certificate store location. Only Root and CertificateAuthority are valid locations.
*/
public data class CertificateConfigurationArgs(
public val certificate: Output? = null,
public val certificatePassword: Output? = null,
public val encodedCertificate: Output? = null,
public val storeName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.apimanagement.inputs.CertificateConfigurationArgs =
com.pulumi.azurenative.apimanagement.inputs.CertificateConfigurationArgs.builder()
.certificate(certificate?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.certificatePassword(certificatePassword?.applyValue({ args0 -> args0 }))
.encodedCertificate(encodedCertificate?.applyValue({ args0 -> args0 }))
.storeName(storeName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CertificateConfigurationArgs].
*/
@PulumiTagMarker
public class CertificateConfigurationArgsBuilder internal constructor() {
private var certificate: Output? = null
private var certificatePassword: Output? = null
private var encodedCertificate: Output? = null
private var storeName: Output? = null
/**
* @param value Certificate information.
*/
@JvmName("rcuhtsdpleybaqop")
public suspend fun certificate(`value`: Output) {
this.certificate = value
}
/**
* @param value Certificate Password.
*/
@JvmName("jsdhwelmbsqpbjah")
public suspend fun certificatePassword(`value`: Output) {
this.certificatePassword = value
}
/**
* @param value Base64 Encoded certificate.
*/
@JvmName("gyeuxqqkfqokqbst")
public suspend fun encodedCertificate(`value`: Output) {
this.encodedCertificate = value
}
/**
* @param value The System.Security.Cryptography.x509certificates.StoreName certificate store location. Only Root and CertificateAuthority are valid locations.
*/
@JvmName("aiursdtjjhidkuuh")
public suspend fun storeName(`value`: Output) {
this.storeName = value
}
/**
* @param value Certificate information.
*/
@JvmName("mdfewxciimdgylfk")
public suspend fun certificate(`value`: CertificateInformationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certificate = mapped
}
/**
* @param argument Certificate information.
*/
@JvmName("etxgghbnuguuttjv")
public suspend fun certificate(argument: suspend CertificateInformationArgsBuilder.() -> Unit) {
val toBeMapped = CertificateInformationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.certificate = mapped
}
/**
* @param value Certificate Password.
*/
@JvmName("dveuadtmpjaxaqhh")
public suspend fun certificatePassword(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.certificatePassword = mapped
}
/**
* @param value Base64 Encoded certificate.
*/
@JvmName("uhacupvglwkgoynq")
public suspend fun encodedCertificate(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encodedCertificate = mapped
}
/**
* @param value The System.Security.Cryptography.x509certificates.StoreName certificate store location. Only Root and CertificateAuthority are valid locations.
*/
@JvmName("raudsgtvseidwvtm")
public suspend fun storeName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.storeName = mapped
}
internal fun build(): CertificateConfigurationArgs = CertificateConfigurationArgs(
certificate = certificate,
certificatePassword = certificatePassword,
encodedCertificate = encodedCertificate,
storeName = storeName ?: throw PulumiNullFieldException("storeName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy