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

com.pulumi.azure.network.kotlin.outputs.ExpressRouteCircuitPeeringIpv6.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.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property enabled A boolean value indicating whether the IPv6 peering is enabled. Defaults to `true`.
 * @property microsoftPeering A `microsoft_peering` block as defined below.
 * @property primaryPeerAddressPrefix A subnet for the primary link.
 * @property routeFilterId The ID of the Route Filter. Only available when `peering_type` is set to `MicrosoftPeering`.
 * > **NOTE:** `ipv6` can be specified when `peering_type` is `MicrosoftPeering` or `AzurePrivatePeering`
 * @property secondaryPeerAddressPrefix A subnet for the secondary link.
 */
public data class ExpressRouteCircuitPeeringIpv6(
    public val enabled: Boolean? = null,
    public val microsoftPeering: ExpressRouteCircuitPeeringIpv6MicrosoftPeering? = null,
    public val primaryPeerAddressPrefix: String,
    public val routeFilterId: String? = null,
    public val secondaryPeerAddressPrefix: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.ExpressRouteCircuitPeeringIpv6): ExpressRouteCircuitPeeringIpv6 = ExpressRouteCircuitPeeringIpv6(
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            microsoftPeering = javaType.microsoftPeering().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.network.kotlin.outputs.ExpressRouteCircuitPeeringIpv6MicrosoftPeering.Companion.toKotlin(args0)
                })
            }).orElse(null),
            primaryPeerAddressPrefix = javaType.primaryPeerAddressPrefix(),
            routeFilterId = javaType.routeFilterId().map({ args0 -> args0 }).orElse(null),
            secondaryPeerAddressPrefix = javaType.secondaryPeerAddressPrefix(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy