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

com.pulumi.azure.keyvault.kotlin.inputs.CertificateCertificatePolicyX509CertificatePropertiesSubjectAlternativeNamesArgs.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.keyvault.kotlin.inputs

import com.pulumi.azure.keyvault.inputs.CertificateCertificatePolicyX509CertificatePropertiesSubjectAlternativeNamesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property dnsNames A list of alternative DNS names (FQDNs) identified by the Certificate.
 * @property emails A list of email addresses identified by this Certificate.
 * @property upns A list of User Principal Names identified by the Certificate.
 */
public data class CertificateCertificatePolicyX509CertificatePropertiesSubjectAlternativeNamesArgs(
    public val dnsNames: Output>? = null,
    public val emails: Output>? = null,
    public val upns: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.keyvault.inputs.CertificateCertificatePolicyX509CertificatePropertiesSubjectAlternativeNamesArgs =
        com.pulumi.azure.keyvault.inputs.CertificateCertificatePolicyX509CertificatePropertiesSubjectAlternativeNamesArgs.builder()
            .dnsNames(dnsNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .emails(emails?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .upns(upns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [CertificateCertificatePolicyX509CertificatePropertiesSubjectAlternativeNamesArgs].
 */
@PulumiTagMarker
public class CertificateCertificatePolicyX509CertificatePropertiesSubjectAlternativeNamesArgsBuilder
internal constructor() {
    private var dnsNames: Output>? = null

    private var emails: Output>? = null

    private var upns: Output>? = null

    /**
     * @param value A list of alternative DNS names (FQDNs) identified by the Certificate.
     */
    @JvmName("vtfwvfjyqxdhuqlx")
    public suspend fun dnsNames(`value`: Output>) {
        this.dnsNames = value
    }

    @JvmName("vqoybxqpuafaapfn")
    public suspend fun dnsNames(vararg values: Output) {
        this.dnsNames = Output.all(values.asList())
    }

    /**
     * @param values A list of alternative DNS names (FQDNs) identified by the Certificate.
     */
    @JvmName("husvkkcntoamfqeb")
    public suspend fun dnsNames(values: List>) {
        this.dnsNames = Output.all(values)
    }

    /**
     * @param value A list of email addresses identified by this Certificate.
     */
    @JvmName("vmxdycodxkyimvbk")
    public suspend fun emails(`value`: Output>) {
        this.emails = value
    }

    @JvmName("yqsyrfthduuwdiku")
    public suspend fun emails(vararg values: Output) {
        this.emails = Output.all(values.asList())
    }

    /**
     * @param values A list of email addresses identified by this Certificate.
     */
    @JvmName("yxcepijxaeylqbpl")
    public suspend fun emails(values: List>) {
        this.emails = Output.all(values)
    }

    /**
     * @param value A list of User Principal Names identified by the Certificate.
     */
    @JvmName("dspiepywpbuefljs")
    public suspend fun upns(`value`: Output>) {
        this.upns = value
    }

    @JvmName("kslgbgupbyeqabui")
    public suspend fun upns(vararg values: Output) {
        this.upns = Output.all(values.asList())
    }

    /**
     * @param values A list of User Principal Names identified by the Certificate.
     */
    @JvmName("qeldtvilogkkohxt")
    public suspend fun upns(values: List>) {
        this.upns = Output.all(values)
    }

    /**
     * @param value A list of alternative DNS names (FQDNs) identified by the Certificate.
     */
    @JvmName("mxkgclojhwapcaxv")
    public suspend fun dnsNames(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dnsNames = mapped
    }

    /**
     * @param values A list of alternative DNS names (FQDNs) identified by the Certificate.
     */
    @JvmName("ilrhripyytofgkxr")
    public suspend fun dnsNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dnsNames = mapped
    }

    /**
     * @param value A list of email addresses identified by this Certificate.
     */
    @JvmName("vxiuwfkeflmpiqtj")
    public suspend fun emails(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.emails = mapped
    }

    /**
     * @param values A list of email addresses identified by this Certificate.
     */
    @JvmName("gqlqxrpemhwqhgxi")
    public suspend fun emails(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.emails = mapped
    }

    /**
     * @param value A list of User Principal Names identified by the Certificate.
     */
    @JvmName("gddmpwlbfpsmjtkd")
    public suspend fun upns(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.upns = mapped
    }

    /**
     * @param values A list of User Principal Names identified by the Certificate.
     */
    @JvmName("nwwynpejgnchdrxh")
    public suspend fun upns(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.upns = mapped
    }

    internal fun build():
        CertificateCertificatePolicyX509CertificatePropertiesSubjectAlternativeNamesArgs =
        CertificateCertificatePolicyX509CertificatePropertiesSubjectAlternativeNamesArgs(
            dnsNames = dnsNames,
            emails = emails,
            upns = upns,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy