com.pulumi.azure.network.kotlin.inputs.FirewallPolicyTlsCertificateArgs.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.network.kotlin.inputs
import com.pulumi.azure.network.inputs.FirewallPolicyTlsCertificateArgs.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 keyVaultSecretId The ID of the Key Vault, where the secret or certificate is stored.
* @property name The name of the certificate.
*/
public data class FirewallPolicyTlsCertificateArgs(
public val keyVaultSecretId: Output,
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.FirewallPolicyTlsCertificateArgs =
com.pulumi.azure.network.inputs.FirewallPolicyTlsCertificateArgs.builder()
.keyVaultSecretId(keyVaultSecretId.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FirewallPolicyTlsCertificateArgs].
*/
@PulumiTagMarker
public class FirewallPolicyTlsCertificateArgsBuilder internal constructor() {
private var keyVaultSecretId: Output? = null
private var name: Output? = null
/**
* @param value The ID of the Key Vault, where the secret or certificate is stored.
*/
@JvmName("tvvqxpkjtfqodlnm")
public suspend fun keyVaultSecretId(`value`: Output) {
this.keyVaultSecretId = value
}
/**
* @param value The name of the certificate.
*/
@JvmName("qkohvwmjhqijtawy")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The ID of the Key Vault, where the secret or certificate is stored.
*/
@JvmName("htkmyhgalgbpxepd")
public suspend fun keyVaultSecretId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.keyVaultSecretId = mapped
}
/**
* @param value The name of the certificate.
*/
@JvmName("atxesrotdcrsubgp")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): FirewallPolicyTlsCertificateArgs = FirewallPolicyTlsCertificateArgs(
keyVaultSecretId = keyVaultSecretId ?: throw PulumiNullFieldException("keyVaultSecretId"),
name = name ?: throw PulumiNullFieldException("name"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy