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

com.pulumi.azurenative.network.kotlin.outputs.TunnelConnectionHealthResponse.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Double
import kotlin.String
import kotlin.Suppress

/**
 * VirtualNetworkGatewayConnection properties.
 * @property connectionStatus Virtual Network Gateway connection status.
 * @property egressBytesTransferred The Egress Bytes Transferred in this connection.
 * @property ingressBytesTransferred The Ingress Bytes Transferred in this connection.
 * @property lastConnectionEstablishedUtcTime The time at which connection was established in Utc format.
 * @property tunnel Tunnel name.
 */
public data class TunnelConnectionHealthResponse(
    public val connectionStatus: String,
    public val egressBytesTransferred: Double,
    public val ingressBytesTransferred: Double,
    public val lastConnectionEstablishedUtcTime: String,
    public val tunnel: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.network.outputs.TunnelConnectionHealthResponse): TunnelConnectionHealthResponse = TunnelConnectionHealthResponse(
            connectionStatus = javaType.connectionStatus(),
            egressBytesTransferred = javaType.egressBytesTransferred(),
            ingressBytesTransferred = javaType.ingressBytesTransferred(),
            lastConnectionEstablishedUtcTime = javaType.lastConnectionEstablishedUtcTime(),
            tunnel = javaType.tunnel(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy