Class ConnectivityInformationInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.ConnectivityInformationInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<ConnectivityInformationInner>

public final class ConnectivityInformationInner extends Object implements com.azure.json.JsonSerializable<ConnectivityInformationInner>
Information on the connectivity status.
  • Constructor Details

    • ConnectivityInformationInner

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

    • hops

      public List<ConnectivityHop> hops()
      Get the hops property: List of hops between the source and the destination.
      Returns:
      the hops value.
    • connectionStatus

      public ConnectionStatus connectionStatus()
      Get the connectionStatus property: The connection status.
      Returns:
      the connectionStatus value.
    • avgLatencyInMs

      public Integer avgLatencyInMs()
      Get the avgLatencyInMs property: Average latency in milliseconds.
      Returns:
      the avgLatencyInMs value.
    • minLatencyInMs

      public Integer minLatencyInMs()
      Get the minLatencyInMs property: Minimum latency in milliseconds.
      Returns:
      the minLatencyInMs value.
    • maxLatencyInMs

      public Integer maxLatencyInMs()
      Get the maxLatencyInMs property: Maximum latency in milliseconds.
      Returns:
      the maxLatencyInMs value.
    • probesSent

      public Integer probesSent()
      Get the probesSent property: Total number of probes sent.
      Returns:
      the probesSent value.
    • probesFailed

      public Integer probesFailed()
      Get the probesFailed property: Number of failed probes.
      Returns:
      the probesFailed 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<ConnectivityInformationInner>
      Throws:
      IOException
    • fromJson

      public static ConnectivityInformationInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ConnectivityInformationInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ConnectivityInformationInner 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 ConnectivityInformationInner.