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

com.pulumi.azure.network.kotlin.outputs.GetExpressRouteCircuitPeering.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.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property azureAsn The Either a 16-bit or a 32-bit ASN for Azure.
 * @property peerAsn The Either a 16-bit or a 32-bit ASN. Can either be public or private.
 * @property peeringType The type of the ExpressRoute Circuit Peering. Acceptable values include `AzurePrivatePeering`, `AzurePublicPeering` and `MicrosoftPeering`. Changing this forces a new resource to be created.
 * @property primaryPeerAddressPrefix A `/30` subnet for the primary link.
 * @property secondaryPeerAddressPrefix A `/30` subnet for the secondary link.
 * @property sharedKey The shared key. Can be a maximum of 25 characters.
 * @property vlanId A valid VLAN ID to establish this peering on.
 */
public data class GetExpressRouteCircuitPeering(
    public val azureAsn: Int,
    public val peerAsn: Int,
    public val peeringType: String,
    public val primaryPeerAddressPrefix: String,
    public val secondaryPeerAddressPrefix: String,
    public val sharedKey: String,
    public val vlanId: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.network.outputs.GetExpressRouteCircuitPeering):
            GetExpressRouteCircuitPeering = GetExpressRouteCircuitPeering(
            azureAsn = javaType.azureAsn(),
            peerAsn = javaType.peerAsn(),
            peeringType = javaType.peeringType(),
            primaryPeerAddressPrefix = javaType.primaryPeerAddressPrefix(),
            secondaryPeerAddressPrefix = javaType.secondaryPeerAddressPrefix(),
            sharedKey = javaType.sharedKey(),
            vlanId = javaType.vlanId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy