Class NetworkConfigurationDiagnosticResult

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

public final class NetworkConfigurationDiagnosticResult extends Object implements com.azure.json.JsonSerializable<NetworkConfigurationDiagnosticResult>
Network configuration diagnostic result corresponded to provided traffic query.
  • Constructor Details

    • NetworkConfigurationDiagnosticResult

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

    • profile

      Get the profile property: Network configuration diagnostic profile.
      Returns:
      the profile value.
    • withProfile

      Set the profile property: Network configuration diagnostic profile.
      Parameters:
      profile - the profile value to set.
      Returns:
      the NetworkConfigurationDiagnosticResult object itself.
    • networkSecurityGroupResult

      public NetworkSecurityGroupResult networkSecurityGroupResult()
      Get the networkSecurityGroupResult property: Network security group result.
      Returns:
      the networkSecurityGroupResult value.
    • withNetworkSecurityGroupResult

      public NetworkConfigurationDiagnosticResult withNetworkSecurityGroupResult(NetworkSecurityGroupResult networkSecurityGroupResult)
      Set the networkSecurityGroupResult property: Network security group result.
      Parameters:
      networkSecurityGroupResult - the networkSecurityGroupResult value to set.
      Returns:
      the NetworkConfigurationDiagnosticResult object itself.
    • 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<NetworkConfigurationDiagnosticResult>
      Throws:
      IOException
    • fromJson

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