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

com.pulumi.azurenative.scheduler.kotlin.inputs.ClientCertAuthenticationArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.scheduler.kotlin.inputs

import com.pulumi.azurenative.scheduler.inputs.ClientCertAuthenticationArgs.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 certificateExpirationDate Gets or sets the certificate expiration date.
 * @property certificateSubjectName Gets or sets the certificate subject name.
 * @property certificateThumbprint Gets or sets the certificate thumbprint.
 * @property password Gets or sets the certificate password, return value will always be empty.
 * @property pfx Gets or sets the pfx certificate. Accepts certification in base64 encoding, return value will always be empty.
 * @property type Gets or sets the HTTP authentication type.
 * Expected value is 'ClientCertificate'.
 */
public data class ClientCertAuthenticationArgs(
    public val certificateExpirationDate: Output? = null,
    public val certificateSubjectName: Output? = null,
    public val certificateThumbprint: Output? = null,
    public val password: Output? = null,
    public val pfx: Output? = null,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.scheduler.inputs.ClientCertAuthenticationArgs =
        com.pulumi.azurenative.scheduler.inputs.ClientCertAuthenticationArgs.builder()
            .certificateExpirationDate(certificateExpirationDate?.applyValue({ args0 -> args0 }))
            .certificateSubjectName(certificateSubjectName?.applyValue({ args0 -> args0 }))
            .certificateThumbprint(certificateThumbprint?.applyValue({ args0 -> args0 }))
            .password(password?.applyValue({ args0 -> args0 }))
            .pfx(pfx?.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClientCertAuthenticationArgs].
 */
@PulumiTagMarker
public class ClientCertAuthenticationArgsBuilder internal constructor() {
    private var certificateExpirationDate: Output? = null

    private var certificateSubjectName: Output? = null

    private var certificateThumbprint: Output? = null

    private var password: Output? = null

    private var pfx: Output? = null

    private var type: Output? = null

    /**
     * @param value Gets or sets the certificate expiration date.
     */
    @JvmName("dmuxsakcwyyjyssn")
    public suspend fun certificateExpirationDate(`value`: Output) {
        this.certificateExpirationDate = value
    }

    /**
     * @param value Gets or sets the certificate subject name.
     */
    @JvmName("mqoqjetxnygtmrvu")
    public suspend fun certificateSubjectName(`value`: Output) {
        this.certificateSubjectName = value
    }

    /**
     * @param value Gets or sets the certificate thumbprint.
     */
    @JvmName("yvewvyqfqmmuwcix")
    public suspend fun certificateThumbprint(`value`: Output) {
        this.certificateThumbprint = value
    }

    /**
     * @param value Gets or sets the certificate password, return value will always be empty.
     */
    @JvmName("kbjwqgaamhcpyatq")
    public suspend fun password(`value`: Output) {
        this.password = value
    }

    /**
     * @param value Gets or sets the pfx certificate. Accepts certification in base64 encoding, return value will always be empty.
     */
    @JvmName("extvpregbngnsqxx")
    public suspend fun pfx(`value`: Output) {
        this.pfx = value
    }

    /**
     * @param value Gets or sets the HTTP authentication type.
     * Expected value is 'ClientCertificate'.
     */
    @JvmName("qyxninbfjxxmhaqw")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value Gets or sets the certificate expiration date.
     */
    @JvmName("dlbtavbvdvtjisuy")
    public suspend fun certificateExpirationDate(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificateExpirationDate = mapped
    }

    /**
     * @param value Gets or sets the certificate subject name.
     */
    @JvmName("nfbyrfckwfeqcreq")
    public suspend fun certificateSubjectName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificateSubjectName = mapped
    }

    /**
     * @param value Gets or sets the certificate thumbprint.
     */
    @JvmName("ccxliowfdmwitqcw")
    public suspend fun certificateThumbprint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificateThumbprint = mapped
    }

    /**
     * @param value Gets or sets the certificate password, return value will always be empty.
     */
    @JvmName("wtepkxmntfmmchis")
    public suspend fun password(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.password = mapped
    }

    /**
     * @param value Gets or sets the pfx certificate. Accepts certification in base64 encoding, return value will always be empty.
     */
    @JvmName("tfcmruajhqbinljs")
    public suspend fun pfx(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.pfx = mapped
    }

    /**
     * @param value Gets or sets the HTTP authentication type.
     * Expected value is 'ClientCertificate'.
     */
    @JvmName("rhkyksuwvcahyaeq")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): ClientCertAuthenticationArgs = ClientCertAuthenticationArgs(
        certificateExpirationDate = certificateExpirationDate,
        certificateSubjectName = certificateSubjectName,
        certificateThumbprint = certificateThumbprint,
        password = password,
        pfx = pfx,
        type = type ?: throw PulumiNullFieldException("type"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy