
com.pulumi.azure.servicefabric.kotlin.inputs.ClusterClientCertificateCommonNameArgs.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.ClusterClientCertificateCommonNameArgs.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 commonName The common or subject name of the certificate.
* @property isAdmin Does the Client Certificate have Admin Access to the cluster? Non-admin clients can only perform read only operations on the cluster.
* @property issuerThumbprint The Issuer Thumbprint of the Certificate.
* > **NOTE:** Certificate Issuer Thumbprint may become required in the future, `https://docs.microsoft.com/azure/service-fabric/service-fabric-create-cluster-using-cert-cn#download-and-update-a-sample-template`.
*/
public data class ClusterClientCertificateCommonNameArgs(
public val commonName: Output,
public val isAdmin: Output,
public val issuerThumbprint: Output? = null,
) : ConvertibleToJava {
override fun toJava():
com.pulumi.azure.servicefabric.inputs.ClusterClientCertificateCommonNameArgs =
com.pulumi.azure.servicefabric.inputs.ClusterClientCertificateCommonNameArgs.builder()
.commonName(commonName.applyValue({ args0 -> args0 }))
.isAdmin(isAdmin.applyValue({ args0 -> args0 }))
.issuerThumbprint(issuerThumbprint?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterClientCertificateCommonNameArgs].
*/
@PulumiTagMarker
public class ClusterClientCertificateCommonNameArgsBuilder internal constructor() {
private var commonName: Output? = null
private var isAdmin: Output? = null
private var issuerThumbprint: Output? = null
/**
* @param value The common or subject name of the certificate.
*/
@JvmName("pwygfvyplahoharc")
public suspend fun commonName(`value`: Output) {
this.commonName = value
}
/**
* @param value Does the Client Certificate have Admin Access to the cluster? Non-admin clients can only perform read only operations on the cluster.
*/
@JvmName("bvmuivnuhsiodyqt")
public suspend fun isAdmin(`value`: Output) {
this.isAdmin = value
}
/**
* @param value The Issuer Thumbprint of the Certificate.
* > **NOTE:** Certificate Issuer Thumbprint may become required in the future, `https://docs.microsoft.com/azure/service-fabric/service-fabric-create-cluster-using-cert-cn#download-and-update-a-sample-template`.
*/
@JvmName("guodkrvvxnmthcsk")
public suspend fun issuerThumbprint(`value`: Output) {
this.issuerThumbprint = value
}
/**
* @param value The common or subject name of the certificate.
*/
@JvmName("taagajfwjtgxdwgm")
public suspend fun commonName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.commonName = mapped
}
/**
* @param value Does the Client Certificate have Admin Access to the cluster? Non-admin clients can only perform read only operations on the cluster.
*/
@JvmName("roplxfpsxiniiydw")
public suspend fun isAdmin(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.isAdmin = mapped
}
/**
* @param value The Issuer Thumbprint of the Certificate.
* > **NOTE:** Certificate Issuer Thumbprint may become required in the future, `https://docs.microsoft.com/azure/service-fabric/service-fabric-create-cluster-using-cert-cn#download-and-update-a-sample-template`.
*/
@JvmName("emckufgawiylkjyq")
public suspend fun issuerThumbprint(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.issuerThumbprint = mapped
}
internal fun build(): ClusterClientCertificateCommonNameArgs =
ClusterClientCertificateCommonNameArgs(
commonName = commonName ?: throw PulumiNullFieldException("commonName"),
isAdmin = isAdmin ?: throw PulumiNullFieldException("isAdmin"),
issuerThumbprint = issuerThumbprint,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy