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

com.pulumi.azure.network.kotlin.inputs.VpnServerConfigurationRadiusServerArgs.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.network.kotlin.inputs

import com.pulumi.azure.network.inputs.VpnServerConfigurationRadiusServerArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property address The Address of the Radius Server.
 * @property score The Score of the Radius Server determines the priority of the server. Ranges from 1 to 30.
 * @property secret The Secret used to communicate with the Radius Server.
 */
public data class VpnServerConfigurationRadiusServerArgs(
    public val address: Output,
    public val score: Output,
    public val secret: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.network.inputs.VpnServerConfigurationRadiusServerArgs =
        com.pulumi.azure.network.inputs.VpnServerConfigurationRadiusServerArgs.builder()
            .address(address.applyValue({ args0 -> args0 }))
            .score(score.applyValue({ args0 -> args0 }))
            .secret(secret.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VpnServerConfigurationRadiusServerArgs].
 */
@PulumiTagMarker
public class VpnServerConfigurationRadiusServerArgsBuilder internal constructor() {
    private var address: Output? = null

    private var score: Output? = null

    private var secret: Output? = null

    /**
     * @param value The Address of the Radius Server.
     */
    @JvmName("bojuhbhqesyovfom")
    public suspend fun address(`value`: Output) {
        this.address = value
    }

    /**
     * @param value The Score of the Radius Server determines the priority of the server. Ranges from 1 to 30.
     */
    @JvmName("cghxfcpanerknvfh")
    public suspend fun score(`value`: Output) {
        this.score = value
    }

    /**
     * @param value The Secret used to communicate with the Radius Server.
     */
    @JvmName("xuwrcewvxmjfmbmd")
    public suspend fun secret(`value`: Output) {
        this.secret = value
    }

    /**
     * @param value The Address of the Radius Server.
     */
    @JvmName("wbxbxmokxporsolk")
    public suspend fun address(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.address = mapped
    }

    /**
     * @param value The Score of the Radius Server determines the priority of the server. Ranges from 1 to 30.
     */
    @JvmName("mibtbfrhsmgtbnua")
    public suspend fun score(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.score = mapped
    }

    /**
     * @param value The Secret used to communicate with the Radius Server.
     */
    @JvmName("qpugjlhyheicneto")
    public suspend fun secret(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.secret = mapped
    }

    internal fun build(): VpnServerConfigurationRadiusServerArgs =
        VpnServerConfigurationRadiusServerArgs(
            address = address ?: throw PulumiNullFieldException("address"),
            score = score ?: throw PulumiNullFieldException("score"),
            secret = secret ?: throw PulumiNullFieldException("secret"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy