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

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

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

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

import com.pulumi.azurenative.network.inputs.IPConfigurationBgpPeeringAddressArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Properties of IPConfigurationBgpPeeringAddress.
 * @property customBgpIpAddresses The list of custom BGP peering addresses which belong to IP configuration.
 * @property ipconfigurationId The ID of IP configuration which belongs to gateway.
 */
public data class IPConfigurationBgpPeeringAddressArgs(
    public val customBgpIpAddresses: Output>? = null,
    public val ipconfigurationId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.network.inputs.IPConfigurationBgpPeeringAddressArgs = com.pulumi.azurenative.network.inputs.IPConfigurationBgpPeeringAddressArgs.builder()
        .customBgpIpAddresses(customBgpIpAddresses?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
        .ipconfigurationId(ipconfigurationId?.applyValue({ args0 -> args0 })).build()
}

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

    private var ipconfigurationId: Output? = null

    /**
     * @param value The list of custom BGP peering addresses which belong to IP configuration.
     */
    @JvmName("lhdjcbkowjitajyw")
    public suspend fun customBgpIpAddresses(`value`: Output>) {
        this.customBgpIpAddresses = value
    }

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

    /**
     * @param values The list of custom BGP peering addresses which belong to IP configuration.
     */
    @JvmName("xvwtoyilxpxslecm")
    public suspend fun customBgpIpAddresses(values: List>) {
        this.customBgpIpAddresses = Output.all(values)
    }

    /**
     * @param value The ID of IP configuration which belongs to gateway.
     */
    @JvmName("hpuuwlspojpehjaa")
    public suspend fun ipconfigurationId(`value`: Output) {
        this.ipconfigurationId = value
    }

    /**
     * @param value The list of custom BGP peering addresses which belong to IP configuration.
     */
    @JvmName("olqlyhhkmbeuyghp")
    public suspend fun customBgpIpAddresses(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customBgpIpAddresses = mapped
    }

    /**
     * @param values The list of custom BGP peering addresses which belong to IP configuration.
     */
    @JvmName("bukmpeqejvgitpox")
    public suspend fun customBgpIpAddresses(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.customBgpIpAddresses = mapped
    }

    /**
     * @param value The ID of IP configuration which belongs to gateway.
     */
    @JvmName("gnuvmnfegtoolynm")
    public suspend fun ipconfigurationId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ipconfigurationId = mapped
    }

    internal fun build(): IPConfigurationBgpPeeringAddressArgs = IPConfigurationBgpPeeringAddressArgs(
        customBgpIpAddresses = customBgpIpAddresses,
        ipconfigurationId = ipconfigurationId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy