Class VpnClientConnectionHealthDetail
java.lang.Object
com.azure.resourcemanager.network.models.VpnClientConnectionHealthDetail
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VpnClientConnectionHealthDetail>
public final class VpnClientConnectionHealthDetail
extends Object
implements com.azure.json.JsonSerializable<VpnClientConnectionHealthDetail>
VPN client connection health detail.
-
Constructor Summary
ConstructorDescriptionCreates an instance of VpnClientConnectionHealthDetail class. -
Method Summary
Modifier and TypeMethodDescriptionGet the egressBytesTransferred property: The egress bytes per second.Get the egressPacketsTransferred property: The egress packets per second.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of VpnClientConnectionHealthDetail from the JsonReader.Get the ingressBytesTransferred property: The ingress bytes per second.Get the ingressPacketsTransferred property: The ingress packets per second.Get the maxBandwidth property: The max band width.Get the maxPacketsPerSecond property: The max packets transferred per second.Get the privateIpAddress property: The assigned private Ip of a connected vpn client.Get the publicIpAddress property: The public Ip of a connected vpn client.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.Get the vpnConnectionDuration property: The duration time of a connected vpn client.Get the vpnConnectionId property: The vpn client Id.Get the vpnConnectionTime property: The start time of a connected vpn client.Get the vpnUsername property: The user name of a connected vpn client.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VpnClientConnectionHealthDetail
public VpnClientConnectionHealthDetail()Creates an instance of VpnClientConnectionHealthDetail class.
-
-
Method Details
-
vpnConnectionId
Get the vpnConnectionId property: The vpn client Id.- Returns:
- the vpnConnectionId value.
-
vpnConnectionDuration
Get the vpnConnectionDuration property: The duration time of a connected vpn client.- Returns:
- the vpnConnectionDuration value.
-
vpnConnectionTime
Get the vpnConnectionTime property: The start time of a connected vpn client.- Returns:
- the vpnConnectionTime value.
-
publicIpAddress
Get the publicIpAddress property: The public Ip of a connected vpn client.- Returns:
- the publicIpAddress value.
-
privateIpAddress
Get the privateIpAddress property: The assigned private Ip of a connected vpn client.- Returns:
- the privateIpAddress value.
-
vpnUsername
Get the vpnUsername property: The user name of a connected vpn client.- Returns:
- the vpnUsername value.
-
maxBandwidth
Get the maxBandwidth property: The max band width.- Returns:
- the maxBandwidth value.
-
egressPacketsTransferred
Get the egressPacketsTransferred property: The egress packets per second.- Returns:
- the egressPacketsTransferred value.
-
egressBytesTransferred
Get the egressBytesTransferred property: The egress bytes per second.- Returns:
- the egressBytesTransferred value.
-
ingressPacketsTransferred
Get the ingressPacketsTransferred property: The ingress packets per second.- Returns:
- the ingressPacketsTransferred value.
-
ingressBytesTransferred
Get the ingressBytesTransferred property: The ingress bytes per second.- Returns:
- the ingressBytesTransferred value.
-
maxPacketsPerSecond
Get the maxPacketsPerSecond property: The max packets transferred per second.- Returns:
- the maxPacketsPerSecond value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<VpnClientConnectionHealthDetail>
- Throws:
IOException
-
fromJson
public static VpnClientConnectionHealthDetail fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VpnClientConnectionHealthDetail from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of VpnClientConnectionHealthDetail 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 VpnClientConnectionHealthDetail.
-