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

com.pulumi.azurenative.network.kotlin.inputs.P2SVpnServerConfigVpnClientRootCertificateArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.network.kotlin.inputs

import com.pulumi.azurenative.network.inputs.P2SVpnServerConfigVpnClientRootCertificateArgs.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 P2SVpnServerConfiguration.
 * @property etag A unique read-only string that changes whenever the resource is updated.
 * @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 P2SVpnServerConfigVpnClientRootCertificateArgs(
    public val etag: Output? = null,
    public val id: Output? = null,
    public val name: Output? = null,
    public val publicCertData: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.network.inputs.P2SVpnServerConfigVpnClientRootCertificateArgs =
        com.pulumi.azurenative.network.inputs.P2SVpnServerConfigVpnClientRootCertificateArgs.builder()
            .etag(etag?.applyValue({ args0 -> args0 }))
            .id(id?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .publicCertData(publicCertData.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [P2SVpnServerConfigVpnClientRootCertificateArgs].
 */
@PulumiTagMarker
public class P2SVpnServerConfigVpnClientRootCertificateArgsBuilder internal constructor() {
    private var etag: Output? = null

    private var id: Output? = null

    private var name: Output? = null

    private var publicCertData: Output? = null

    /**
     * @param value A unique read-only string that changes whenever the resource is updated.
     */
    @JvmName("uwdtusdfpfwaqogk")
    public suspend fun etag(`value`: Output) {
        this.etag = value
    }

    /**
     * @param value Resource ID.
     */
    @JvmName("bjhwhiqfnexkcmjd")
    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("diivsonxqkluukdh")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The certificate public data.
     */
    @JvmName("bwjqxpmgftofjcyx")
    public suspend fun publicCertData(`value`: Output) {
        this.publicCertData = value
    }

    /**
     * @param value A unique read-only string that changes whenever the resource is updated.
     */
    @JvmName("jcfswtrolahmksqk")
    public suspend fun etag(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.etag = mapped
    }

    /**
     * @param value Resource ID.
     */
    @JvmName("fbeddhhspehekflq")
    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("mbjtmccmhnqlpvxh")
    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("fcmnlfhffrmalvxh")
    public suspend fun publicCertData(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.publicCertData = mapped
    }

    internal fun build(): P2SVpnServerConfigVpnClientRootCertificateArgs =
        P2SVpnServerConfigVpnClientRootCertificateArgs(
            etag = etag,
            id = id,
            name = name,
            publicCertData = publicCertData ?: throw PulumiNullFieldException("publicCertData"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy