![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.network.kotlin.inputs.VpnClientRootCertificateArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.VpnClientRootCertificateArgs.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
/**
* VPN client root certificate of virtual network gateway.
* @property id Resource ID.
* @property name The name of the resource that is unique within a resource group. This name can be used to access the resource.
* @property publicCertData The certificate public data.
*/
public data class VpnClientRootCertificateArgs(
public val id: Output? = null,
public val name: Output? = null,
public val publicCertData: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.VpnClientRootCertificateArgs =
com.pulumi.azurenative.network.inputs.VpnClientRootCertificateArgs.builder()
.id(id?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.publicCertData(publicCertData.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VpnClientRootCertificateArgs].
*/
@PulumiTagMarker
public class VpnClientRootCertificateArgsBuilder internal constructor() {
private var id: Output? = null
private var name: Output? = null
private var publicCertData: Output? = null
/**
* @param value Resource ID.
*/
@JvmName("uaxpqjgvjarfhrep")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The name of the resource that is unique within a resource group. This name can be used to access the resource.
*/
@JvmName("pmvyorkyryvtewkt")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The certificate public data.
*/
@JvmName("qiwevrpylnwtgtfr")
public suspend fun publicCertData(`value`: Output) {
this.publicCertData = value
}
/**
* @param value Resource ID.
*/
@JvmName("yfwyleyodpeodhlm")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value The name of the resource that is unique within a resource group. This name can be used to access the resource.
*/
@JvmName("ughuvigjgexhimuj")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The certificate public data.
*/
@JvmName("fevylbhyewlcmtie")
public suspend fun publicCertData(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.publicCertData = mapped
}
internal fun build(): VpnClientRootCertificateArgs = VpnClientRootCertificateArgs(
id = id,
name = name,
publicCertData = publicCertData ?: throw PulumiNullFieldException("publicCertData"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy