TunnelConnectionHealth Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. TunnelConnectionHealth
- com.
Implements
public final class TunnelConnectionHealth
implements JsonSerializable<TunnelConnectionHealth>
VirtualNetworkGatewayConnection properties.
Constructor Summary
Constructor | Description |
---|---|
TunnelConnectionHealth() |
Creates an instance of Tunnel |
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
connectionStatus()
Get the connection |
Long |
egressBytesTransferred()
Get the egress |
static
Tunnel |
fromJson(JsonReader jsonReader)
Reads an instance of Tunnel |
Long |
ingressBytesTransferred()
Get the ingress |
String |
lastConnectionEstablishedUtcTime()
Get the last |
Json |
toJson(JsonWriter jsonWriter) |
String |
tunnel()
Get the tunnel property: Tunnel name. |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
TunnelConnectionHealth
public TunnelConnectionHealth()
Creates an instance of TunnelConnectionHealth class.
Method Details
connectionStatus
public VirtualNetworkGatewayConnectionStatus connectionStatus()
Get the connectionStatus property: Virtual Network Gateway connection status.
Returns:
egressBytesTransferred
public Long egressBytesTransferred()
Get the egressBytesTransferred property: The Egress Bytes Transferred in this connection.
Returns:
fromJson
public static TunnelConnectionHealth fromJson(JsonReader jsonReader)
Reads an instance of TunnelConnectionHealth from the JsonReader.
Parameters:
Returns:
Throws:
ingressBytesTransferred
public Long ingressBytesTransferred()
Get the ingressBytesTransferred property: The Ingress Bytes Transferred in this connection.
Returns:
lastConnectionEstablishedUtcTime
public String lastConnectionEstablishedUtcTime()
Get the lastConnectionEstablishedUtcTime property: The time at which connection was established in Utc format.
Returns:
toJson
tunnel
public String tunnel()
Get the tunnel property: Tunnel name.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java