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

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

package com.pulumi.azure.lb.kotlin.inputs

import com.pulumi.azure.lb.inputs.BackendAddressPoolTunnelInterfaceArgs.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 identifier The unique identifier of this Gateway Load Balancer Tunnel Interface.
 * @property port The port number that this Gateway Load Balancer Tunnel Interface listens to.
 * @property protocol The protocol used for this Gateway Load Balancer Tunnel Interface. Possible values are `None`, `Native` and `VXLAN`.
 * @property type The traffic type of this Gateway Load Balancer Tunnel Interface. Possible values are `None`, `Internal` and `External`.
 */
public data class BackendAddressPoolTunnelInterfaceArgs(
    public val identifier: Output,
    public val port: Output,
    public val protocol: Output,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.lb.inputs.BackendAddressPoolTunnelInterfaceArgs =
        com.pulumi.azure.lb.inputs.BackendAddressPoolTunnelInterfaceArgs.builder()
            .identifier(identifier.applyValue({ args0 -> args0 }))
            .port(port.applyValue({ args0 -> args0 }))
            .protocol(protocol.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BackendAddressPoolTunnelInterfaceArgs].
 */
@PulumiTagMarker
public class BackendAddressPoolTunnelInterfaceArgsBuilder internal constructor() {
    private var identifier: Output? = null

    private var port: Output? = null

    private var protocol: Output? = null

    private var type: Output? = null

    /**
     * @param value The unique identifier of this Gateway Load Balancer Tunnel Interface.
     */
    @JvmName("sttidbupwtkpujje")
    public suspend fun identifier(`value`: Output) {
        this.identifier = value
    }

    /**
     * @param value The port number that this Gateway Load Balancer Tunnel Interface listens to.
     */
    @JvmName("qlxojulvnnafflft")
    public suspend fun port(`value`: Output) {
        this.port = value
    }

    /**
     * @param value The protocol used for this Gateway Load Balancer Tunnel Interface. Possible values are `None`, `Native` and `VXLAN`.
     */
    @JvmName("upanvxaohixnpkwx")
    public suspend fun protocol(`value`: Output) {
        this.protocol = value
    }

    /**
     * @param value The traffic type of this Gateway Load Balancer Tunnel Interface. Possible values are `None`, `Internal` and `External`.
     */
    @JvmName("ecrfntikqomyqkey")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value The unique identifier of this Gateway Load Balancer Tunnel Interface.
     */
    @JvmName("eigjjitehkiptntt")
    public suspend fun identifier(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.identifier = mapped
    }

    /**
     * @param value The port number that this Gateway Load Balancer Tunnel Interface listens to.
     */
    @JvmName("bmcpnlxgqqwmgsqv")
    public suspend fun port(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.port = mapped
    }

    /**
     * @param value The protocol used for this Gateway Load Balancer Tunnel Interface. Possible values are `None`, `Native` and `VXLAN`.
     */
    @JvmName("lthwummmnsgiahnn")
    public suspend fun protocol(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.protocol = mapped
    }

    /**
     * @param value The traffic type of this Gateway Load Balancer Tunnel Interface. Possible values are `None`, `Internal` and `External`.
     */
    @JvmName("vnbohygtyqoieorc")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): BackendAddressPoolTunnelInterfaceArgs =
        BackendAddressPoolTunnelInterfaceArgs(
            identifier = identifier ?: throw PulumiNullFieldException("identifier"),
            port = port ?: throw PulumiNullFieldException("port"),
            protocol = protocol ?: throw PulumiNullFieldException("protocol"),
            type = type ?: throw PulumiNullFieldException("type"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy