TunnelConnectionHealth Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.TunnelConnectionHealth

Implements

public final class TunnelConnectionHealth
implements JsonSerializable<TunnelConnectionHealth>

VirtualNetworkGatewayConnection properties.

Method Summary

Modifier and Type Method and Description
VirtualNetworkGatewayConnectionStatus connectionStatus()

Get the connectionStatus property: Virtual Network Gateway connection status.

Long egressBytesTransferred()

Get the egressBytesTransferred property: The Egress Bytes Transferred in this connection.

static TunnelConnectionHealth fromJson(JsonReader jsonReader)

Reads an instance of TunnelConnectionHealth from the JsonReader.

Long ingressBytesTransferred()

Get the ingressBytesTransferred property: The Ingress Bytes Transferred in this connection.

String lastConnectionEstablishedUtcTime()

Get the lastConnectionEstablishedUtcTime property: The time at which connection was established in Utc format.

JsonWriter toJson(JsonWriter jsonWriter)
String tunnel()

Get the tunnel property: Tunnel name.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

connectionStatus

public VirtualNetworkGatewayConnectionStatus connectionStatus()

Get the connectionStatus property: Virtual Network Gateway connection status.

Returns:

the connectionStatus value.

egressBytesTransferred

public Long egressBytesTransferred()

Get the egressBytesTransferred property: The Egress Bytes Transferred in this connection.

Returns:

the egressBytesTransferred value.

fromJson

public static TunnelConnectionHealth fromJson(JsonReader jsonReader)

Reads an instance of TunnelConnectionHealth from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TunnelConnectionHealth if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TunnelConnectionHealth.

ingressBytesTransferred

public Long ingressBytesTransferred()

Get the ingressBytesTransferred property: The Ingress Bytes Transferred in this connection.

Returns:

the ingressBytesTransferred value.

lastConnectionEstablishedUtcTime

public String lastConnectionEstablishedUtcTime()

Get the lastConnectionEstablishedUtcTime property: The time at which connection was established in Utc format.

Returns:

the lastConnectionEstablishedUtcTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

tunnel

public String tunnel()

Get the tunnel property: Tunnel name.

Returns:

the tunnel value.

validate

public void validate()

Validates the instance.

Applies to