com.pulumi.azure.servicefabric.kotlin.inputs.ManagedClusterAuthenticationCertificateArgs.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.servicefabric.kotlin.inputs
import com.pulumi.azure.servicefabric.inputs.ManagedClusterAuthenticationCertificateArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property commonName The certificate's CN.
* @property thumbprint The thumbprint of the certificate.
* @property type The type of the certificate. Can be `AdminClient` or `ReadOnlyClient`.
*/
public data class ManagedClusterAuthenticationCertificateArgs(
public val commonName: Output? = null,
public val thumbprint: Output,
public val type: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.servicefabric.inputs.ManagedClusterAuthenticationCertificateArgs =
com.pulumi.azure.servicefabric.inputs.ManagedClusterAuthenticationCertificateArgs.builder()
.commonName(commonName?.applyValue({ args0 -> args0 }))
.thumbprint(thumbprint.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ManagedClusterAuthenticationCertificateArgs].
*/
@PulumiTagMarker
public class ManagedClusterAuthenticationCertificateArgsBuilder internal constructor() {
private var commonName: Output? = null
private var thumbprint: Output? = null
private var type: Output? = null
/**
* @param value The certificate's CN.
*/
@JvmName("apygsbiovvolfofj")
public suspend fun commonName(`value`: Output) {
this.commonName = value
}
/**
* @param value The thumbprint of the certificate.
*/
@JvmName("witapiyyaqhbgmmp")
public suspend fun thumbprint(`value`: Output) {
this.thumbprint = value
}
/**
* @param value The type of the certificate. Can be `AdminClient` or `ReadOnlyClient`.
*/
@JvmName("qbpkbhwkbssmxddc")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The certificate's CN.
*/
@JvmName("pobsgsyjbjtaqsak")
public suspend fun commonName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.commonName = mapped
}
/**
* @param value The thumbprint of the certificate.
*/
@JvmName("wsdsujuwjartifcv")
public suspend fun thumbprint(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.thumbprint = mapped
}
/**
* @param value The type of the certificate. Can be `AdminClient` or `ReadOnlyClient`.
*/
@JvmName("ntnxpmadbjbheylk")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): ManagedClusterAuthenticationCertificateArgs =
ManagedClusterAuthenticationCertificateArgs(
commonName = commonName,
thumbprint = thumbprint ?: throw PulumiNullFieldException("thumbprint"),
type = type ?: throw PulumiNullFieldException("type"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy