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

com.pulumi.azurenative.network.kotlin.outputs.ExpressRouteCircuitConnectionResponse.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.network.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
 * @property addressPrefix /29 IP address space to carve out Customer addresses for tunnels.
 * @property authorizationKey The authorization key.
 * @property circuitConnectionStatus Express Route Circuit connection state.
 * @property etag A unique read-only string that changes whenever the resource is updated.
 * @property expressRouteCircuitPeering Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
 * @property id Resource ID.
 * @property ipv6CircuitConnectionConfig IPv6 Address PrefixProperties of the express route circuit connection.
 * @property name The name of the resource that is unique within a resource group. This name can be used to access the resource.
 * @property peerExpressRouteCircuitPeering Reference to Express Route Circuit Private Peering Resource of the peered circuit.
 * @property provisioningState The provisioning state of the express route circuit connection resource.
 * @property type Type of the resource.
 */
public data class ExpressRouteCircuitConnectionResponse(
    public val addressPrefix: String? = null,
    public val authorizationKey: String? = null,
    public val circuitConnectionStatus: String,
    public val etag: String,
    public val expressRouteCircuitPeering: SubResourceResponse? = null,
    public val id: String? = null,
    public val ipv6CircuitConnectionConfig: Ipv6CircuitConnectionConfigResponse? = null,
    public val name: String? = null,
    public val peerExpressRouteCircuitPeering: SubResourceResponse? = null,
    public val provisioningState: String,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.network.outputs.ExpressRouteCircuitConnectionResponse): ExpressRouteCircuitConnectionResponse = ExpressRouteCircuitConnectionResponse(
            addressPrefix = javaType.addressPrefix().map({ args0 -> args0 }).orElse(null),
            authorizationKey = javaType.authorizationKey().map({ args0 -> args0 }).orElse(null),
            circuitConnectionStatus = javaType.circuitConnectionStatus(),
            etag = javaType.etag(),
            expressRouteCircuitPeering = javaType.expressRouteCircuitPeering().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.network.kotlin.outputs.SubResourceResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            ipv6CircuitConnectionConfig = javaType.ipv6CircuitConnectionConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.network.kotlin.outputs.Ipv6CircuitConnectionConfigResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            peerExpressRouteCircuitPeering = javaType.peerExpressRouteCircuitPeering().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.network.kotlin.outputs.SubResourceResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            provisioningState = javaType.provisioningState(),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy