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

com.pulumi.azure.network.kotlin.inputs.ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.network.kotlin.inputs

import com.pulumi.azure.network.inputs.ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property advertisedCommunities The communities of Bgp Peering specified for microsoft peering.
 * @property advertisedPublicPrefixes A list of Advertised Public Prefixes.
 * @property customerAsn The CustomerASN of the peering. Defaults to `0`.
 * @property routingRegistryName The Routing Registry against which the AS number and prefixes are registered. For example: `ARIN`, `RIPE`, `AFRINIC` etc. Defaults to `NONE`.
 */
public data class ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs(
    public val advertisedCommunities: Output>? = null,
    public val advertisedPublicPrefixes: Output>? = null,
    public val customerAsn: Output? = null,
    public val routingRegistryName: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.network.inputs.ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs =
        com.pulumi.azure.network.inputs.ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs.builder()
            .advertisedCommunities(advertisedCommunities?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .advertisedPublicPrefixes(
                advertisedPublicPrefixes?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            )
            .customerAsn(customerAsn?.applyValue({ args0 -> args0 }))
            .routingRegistryName(routingRegistryName?.applyValue({ args0 -> args0 })).build()
}

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

    private var advertisedPublicPrefixes: Output>? = null

    private var customerAsn: Output? = null

    private var routingRegistryName: Output? = null

    /**
     * @param value The communities of Bgp Peering specified for microsoft peering.
     */
    @JvmName("vhaqwhkgkgnodceq")
    public suspend fun advertisedCommunities(`value`: Output>) {
        this.advertisedCommunities = value
    }

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

    /**
     * @param values The communities of Bgp Peering specified for microsoft peering.
     */
    @JvmName("qvburrmcuuhhtsgg")
    public suspend fun advertisedCommunities(values: List>) {
        this.advertisedCommunities = Output.all(values)
    }

    /**
     * @param value A list of Advertised Public Prefixes.
     */
    @JvmName("ljvjdtmofaqwyhsi")
    public suspend fun advertisedPublicPrefixes(`value`: Output>) {
        this.advertisedPublicPrefixes = value
    }

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

    /**
     * @param values A list of Advertised Public Prefixes.
     */
    @JvmName("eklesxascfudbhcn")
    public suspend fun advertisedPublicPrefixes(values: List>) {
        this.advertisedPublicPrefixes = Output.all(values)
    }

    /**
     * @param value The CustomerASN of the peering. Defaults to `0`.
     */
    @JvmName("mywuycntyxhewnpp")
    public suspend fun customerAsn(`value`: Output) {
        this.customerAsn = value
    }

    /**
     * @param value The Routing Registry against which the AS number and prefixes are registered. For example: `ARIN`, `RIPE`, `AFRINIC` etc. Defaults to `NONE`.
     */
    @JvmName("naunmrhshuabaoud")
    public suspend fun routingRegistryName(`value`: Output) {
        this.routingRegistryName = value
    }

    /**
     * @param value The communities of Bgp Peering specified for microsoft peering.
     */
    @JvmName("rjjnkkahdfjicjfd")
    public suspend fun advertisedCommunities(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.advertisedCommunities = mapped
    }

    /**
     * @param values The communities of Bgp Peering specified for microsoft peering.
     */
    @JvmName("ofdixnmfyovlgphi")
    public suspend fun advertisedCommunities(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.advertisedCommunities = mapped
    }

    /**
     * @param value A list of Advertised Public Prefixes.
     */
    @JvmName("bejncfrrsjfxcmot")
    public suspend fun advertisedPublicPrefixes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.advertisedPublicPrefixes = mapped
    }

    /**
     * @param values A list of Advertised Public Prefixes.
     */
    @JvmName("mcdbpwskkvjbxaro")
    public suspend fun advertisedPublicPrefixes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.advertisedPublicPrefixes = mapped
    }

    /**
     * @param value The CustomerASN of the peering. Defaults to `0`.
     */
    @JvmName("rbpvivjgdjfctniw")
    public suspend fun customerAsn(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customerAsn = mapped
    }

    /**
     * @param value The Routing Registry against which the AS number and prefixes are registered. For example: `ARIN`, `RIPE`, `AFRINIC` etc. Defaults to `NONE`.
     */
    @JvmName("wpcdqandgmdtnwbm")
    public suspend fun routingRegistryName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.routingRegistryName = mapped
    }

    internal fun build(): ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs =
        ExpressRouteCircuitPeeringIpv6MicrosoftPeeringArgs(
            advertisedCommunities = advertisedCommunities,
            advertisedPublicPrefixes = advertisedPublicPrefixes,
            customerAsn = customerAsn,
            routingRegistryName = routingRegistryName,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy