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 Details

    • VpnClientConnectionHealthDetail

      public VpnClientConnectionHealthDetail()
      Creates an instance of VpnClientConnectionHealthDetail class.
  • Method Details

    • vpnConnectionId

      public String vpnConnectionId()
      Get the vpnConnectionId property: The vpn client Id.
      Returns:
      the vpnConnectionId value.
    • vpnConnectionDuration

      public Long vpnConnectionDuration()
      Get the vpnConnectionDuration property: The duration time of a connected vpn client.
      Returns:
      the vpnConnectionDuration value.
    • vpnConnectionTime

      public String vpnConnectionTime()
      Get the vpnConnectionTime property: The start time of a connected vpn client.
      Returns:
      the vpnConnectionTime value.
    • publicIpAddress

      public String publicIpAddress()
      Get the publicIpAddress property: The public Ip of a connected vpn client.
      Returns:
      the publicIpAddress value.
    • privateIpAddress

      public String privateIpAddress()
      Get the privateIpAddress property: The assigned private Ip of a connected vpn client.
      Returns:
      the privateIpAddress value.
    • vpnUsername

      public String vpnUsername()
      Get the vpnUsername property: The user name of a connected vpn client.
      Returns:
      the vpnUsername value.
    • maxBandwidth

      public Long maxBandwidth()
      Get the maxBandwidth property: The max band width.
      Returns:
      the maxBandwidth value.
    • egressPacketsTransferred

      public Long egressPacketsTransferred()
      Get the egressPacketsTransferred property: The egress packets per second.
      Returns:
      the egressPacketsTransferred value.
    • egressBytesTransferred

      public Long egressBytesTransferred()
      Get the egressBytesTransferred property: The egress bytes per second.
      Returns:
      the egressBytesTransferred value.
    • ingressPacketsTransferred

      public Long ingressPacketsTransferred()
      Get the ingressPacketsTransferred property: The ingress packets per second.
      Returns:
      the ingressPacketsTransferred value.
    • ingressBytesTransferred

      public Long ingressBytesTransferred()
      Get the ingressBytesTransferred property: The ingress bytes per second.
      Returns:
      the ingressBytesTransferred value.
    • maxPacketsPerSecond

      public Long 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.