All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.servicefabric.kotlin.inputs.ClusterCertificateCommonNamesCommonNameArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.servicefabric.kotlin.inputs

import com.pulumi.azure.servicefabric.inputs.ClusterCertificateCommonNamesCommonNameArgs.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 certificateCommonName The common or subject name of the certificate.
 * @property certificateIssuerThumbprint 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 ClusterCertificateCommonNamesCommonNameArgs(
    public val certificateCommonName: Output,
    public val certificateIssuerThumbprint: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.servicefabric.inputs.ClusterCertificateCommonNamesCommonNameArgs =
        com.pulumi.azure.servicefabric.inputs.ClusterCertificateCommonNamesCommonNameArgs.builder()
            .certificateCommonName(certificateCommonName.applyValue({ args0 -> args0 }))
            .certificateIssuerThumbprint(certificateIssuerThumbprint?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterCertificateCommonNamesCommonNameArgs].
 */
@PulumiTagMarker
public class ClusterCertificateCommonNamesCommonNameArgsBuilder internal constructor() {
    private var certificateCommonName: Output? = null

    private var certificateIssuerThumbprint: Output? = null

    /**
     * @param value The common or subject name of the certificate.
     */
    @JvmName("sifmauiwypsutkjn")
    public suspend fun certificateCommonName(`value`: Output) {
        this.certificateCommonName = 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("ifftrtcmantakvev")
    public suspend fun certificateIssuerThumbprint(`value`: Output) {
        this.certificateIssuerThumbprint = value
    }

    /**
     * @param value The common or subject name of the certificate.
     */
    @JvmName("jxqfqghlnyywocnf")
    public suspend fun certificateCommonName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.certificateCommonName = 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("xtjtdbetyydenktj")
    public suspend fun certificateIssuerThumbprint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificateIssuerThumbprint = mapped
    }

    internal fun build(): ClusterCertificateCommonNamesCommonNameArgs =
        ClusterCertificateCommonNamesCommonNameArgs(
            certificateCommonName = certificateCommonName ?: throw
                PulumiNullFieldException("certificateCommonName"),
            certificateIssuerThumbprint = certificateIssuerThumbprint,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy