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

com.pulumi.azure.cdn.kotlin.inputs.FrontdoorSecretSecretCustomerCertificateArgs.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.cdn.kotlin.inputs

import com.pulumi.azure.cdn.inputs.FrontdoorSecretSecretCustomerCertificateArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property keyVaultCertificateId The ID of the Key Vault certificate resource to use. Changing this forces a new Front Door Secret to be created.
 * ->**NOTE:** If you would like to use the **latest version** of the Key Vault Certificate use the Key Vault Certificates `versionless_id` attribute as the `key_vault_certificate_id` fields value(e.g. `key_vault_certificate_id = azurerm_key_vault_certificate.example.versionless_id`).
 * @property subjectAlternativeNames One or more `subject alternative names` contained within the key vault certificate.
 */
public data class FrontdoorSecretSecretCustomerCertificateArgs(
    public val keyVaultCertificateId: Output,
    public val subjectAlternativeNames: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.cdn.inputs.FrontdoorSecretSecretCustomerCertificateArgs =
        com.pulumi.azure.cdn.inputs.FrontdoorSecretSecretCustomerCertificateArgs.builder()
            .keyVaultCertificateId(keyVaultCertificateId.applyValue({ args0 -> args0 }))
            .subjectAlternativeNames(
                subjectAlternativeNames?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            ).build()
}

/**
 * Builder for [FrontdoorSecretSecretCustomerCertificateArgs].
 */
@PulumiTagMarker
public class FrontdoorSecretSecretCustomerCertificateArgsBuilder internal constructor() {
    private var keyVaultCertificateId: Output? = null

    private var subjectAlternativeNames: Output>? = null

    /**
     * @param value The ID of the Key Vault certificate resource to use. Changing this forces a new Front Door Secret to be created.
     * ->**NOTE:** If you would like to use the **latest version** of the Key Vault Certificate use the Key Vault Certificates `versionless_id` attribute as the `key_vault_certificate_id` fields value(e.g. `key_vault_certificate_id = azurerm_key_vault_certificate.example.versionless_id`).
     */
    @JvmName("pqdmyoxknofktcsb")
    public suspend fun keyVaultCertificateId(`value`: Output) {
        this.keyVaultCertificateId = value
    }

    /**
     * @param value One or more `subject alternative names` contained within the key vault certificate.
     */
    @JvmName("foueqwickwssleig")
    public suspend fun subjectAlternativeNames(`value`: Output>) {
        this.subjectAlternativeNames = value
    }

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

    /**
     * @param values One or more `subject alternative names` contained within the key vault certificate.
     */
    @JvmName("vqhwwvdrqnqkiqtt")
    public suspend fun subjectAlternativeNames(values: List>) {
        this.subjectAlternativeNames = Output.all(values)
    }

    /**
     * @param value The ID of the Key Vault certificate resource to use. Changing this forces a new Front Door Secret to be created.
     * ->**NOTE:** If you would like to use the **latest version** of the Key Vault Certificate use the Key Vault Certificates `versionless_id` attribute as the `key_vault_certificate_id` fields value(e.g. `key_vault_certificate_id = azurerm_key_vault_certificate.example.versionless_id`).
     */
    @JvmName("ikupjblgejyloxtw")
    public suspend fun keyVaultCertificateId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.keyVaultCertificateId = mapped
    }

    /**
     * @param value One or more `subject alternative names` contained within the key vault certificate.
     */
    @JvmName("buufeetntycwqdsm")
    public suspend fun subjectAlternativeNames(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subjectAlternativeNames = mapped
    }

    /**
     * @param values One or more `subject alternative names` contained within the key vault certificate.
     */
    @JvmName("fpmnjiftqwqnaopu")
    public suspend fun subjectAlternativeNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.subjectAlternativeNames = mapped
    }

    internal fun build(): FrontdoorSecretSecretCustomerCertificateArgs =
        FrontdoorSecretSecretCustomerCertificateArgs(
            keyVaultCertificateId = keyVaultCertificateId ?: throw
                PulumiNullFieldException("keyVaultCertificateId"),
            subjectAlternativeNames = subjectAlternativeNames,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy