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

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

import com.pulumi.azure.network.inputs.VpnGatewayBgpSettingsInstance1BgpPeeringAddressArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property customIps
 * @property defaultIps The list of default BGP peering addresses which belong to the pre-defined VPN Gateway IP configuration.
 * @property ipConfigurationId The pre-defined id of VPN Gateway IP Configuration.
 * @property tunnelIps The list of tunnel public IP addresses which belong to the pre-defined VPN Gateway IP configuration.
 */
public data class VpnGatewayBgpSettingsInstance1BgpPeeringAddressArgs(
    public val customIps: Output>,
    public val defaultIps: Output>? = null,
    public val ipConfigurationId: Output? = null,
    public val tunnelIps: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.network.inputs.VpnGatewayBgpSettingsInstance1BgpPeeringAddressArgs =
        com.pulumi.azure.network.inputs.VpnGatewayBgpSettingsInstance1BgpPeeringAddressArgs.builder()
            .customIps(customIps.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .defaultIps(defaultIps?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .ipConfigurationId(ipConfigurationId?.applyValue({ args0 -> args0 }))
            .tunnelIps(tunnelIps?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [VpnGatewayBgpSettingsInstance1BgpPeeringAddressArgs].
 */
@PulumiTagMarker
public class VpnGatewayBgpSettingsInstance1BgpPeeringAddressArgsBuilder internal constructor() {
    private var customIps: Output>? = null

    private var defaultIps: Output>? = null

    private var ipConfigurationId: Output? = null

    private var tunnelIps: Output>? = null

    /**
     * @param value
     */
    @JvmName("jfoxssbmaqpvxqkq")
    public suspend fun customIps(`value`: Output>) {
        this.customIps = value
    }

    @JvmName("yflhthjwdpkqbach")
    public suspend fun customIps(vararg values: Output) {
        this.customIps = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("qdrudekioqivqwbk")
    public suspend fun customIps(values: List>) {
        this.customIps = Output.all(values)
    }

    /**
     * @param value The list of default BGP peering addresses which belong to the pre-defined VPN Gateway IP configuration.
     */
    @JvmName("dufeyiscfnbpluab")
    public suspend fun defaultIps(`value`: Output>) {
        this.defaultIps = value
    }

    @JvmName("soghvrwuithhxlbw")
    public suspend fun defaultIps(vararg values: Output) {
        this.defaultIps = Output.all(values.asList())
    }

    /**
     * @param values The list of default BGP peering addresses which belong to the pre-defined VPN Gateway IP configuration.
     */
    @JvmName("hcvdavembgdlypfq")
    public suspend fun defaultIps(values: List>) {
        this.defaultIps = Output.all(values)
    }

    /**
     * @param value The pre-defined id of VPN Gateway IP Configuration.
     */
    @JvmName("atgiomftdrstxlat")
    public suspend fun ipConfigurationId(`value`: Output) {
        this.ipConfigurationId = value
    }

    /**
     * @param value The list of tunnel public IP addresses which belong to the pre-defined VPN Gateway IP configuration.
     */
    @JvmName("oijlqbtacueemqop")
    public suspend fun tunnelIps(`value`: Output>) {
        this.tunnelIps = value
    }

    @JvmName("clajtobhrctluyoh")
    public suspend fun tunnelIps(vararg values: Output) {
        this.tunnelIps = Output.all(values.asList())
    }

    /**
     * @param values The list of tunnel public IP addresses which belong to the pre-defined VPN Gateway IP configuration.
     */
    @JvmName("qhyylibxmnhmtnjm")
    public suspend fun tunnelIps(values: List>) {
        this.tunnelIps = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("lkixtjxxuecedgde")
    public suspend fun customIps(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.customIps = mapped
    }

    /**
     * @param values
     */
    @JvmName("vfbapatskwocxeaw")
    public suspend fun customIps(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.customIps = mapped
    }

    /**
     * @param value The list of default BGP peering addresses which belong to the pre-defined VPN Gateway IP configuration.
     */
    @JvmName("fxsyoscdgacvefux")
    public suspend fun defaultIps(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.defaultIps = mapped
    }

    /**
     * @param values The list of default BGP peering addresses which belong to the pre-defined VPN Gateway IP configuration.
     */
    @JvmName("dfniiruklmprquki")
    public suspend fun defaultIps(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.defaultIps = mapped
    }

    /**
     * @param value The pre-defined id of VPN Gateway IP Configuration.
     */
    @JvmName("myhklpjfcfptlook")
    public suspend fun ipConfigurationId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ipConfigurationId = mapped
    }

    /**
     * @param value The list of tunnel public IP addresses which belong to the pre-defined VPN Gateway IP configuration.
     */
    @JvmName("gmngpnxvrdvtdxpp")
    public suspend fun tunnelIps(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tunnelIps = mapped
    }

    /**
     * @param values The list of tunnel public IP addresses which belong to the pre-defined VPN Gateway IP configuration.
     */
    @JvmName("dguevcchwelvsrqg")
    public suspend fun tunnelIps(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tunnelIps = mapped
    }

    internal fun build(): VpnGatewayBgpSettingsInstance1BgpPeeringAddressArgs =
        VpnGatewayBgpSettingsInstance1BgpPeeringAddressArgs(
            customIps = customIps ?: throw PulumiNullFieldException("customIps"),
            defaultIps = defaultIps,
            ipConfigurationId = ipConfigurationId,
            tunnelIps = tunnelIps,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy