Class NetworkSecurityGroupResult

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

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

    • NetworkSecurityGroupResult

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

    • securityRuleAccessResult

      public SecurityRuleAccess securityRuleAccessResult()
      Get the securityRuleAccessResult property: The network traffic is allowed or denied.
      Returns:
      the securityRuleAccessResult value.
    • withSecurityRuleAccessResult

      public NetworkSecurityGroupResult withSecurityRuleAccessResult(SecurityRuleAccess securityRuleAccessResult)
      Set the securityRuleAccessResult property: The network traffic is allowed or denied.
      Parameters:
      securityRuleAccessResult - the securityRuleAccessResult value to set.
      Returns:
      the NetworkSecurityGroupResult object itself.
    • evaluatedNetworkSecurityGroups

      public List<EvaluatedNetworkSecurityGroup> evaluatedNetworkSecurityGroups()
      Get the evaluatedNetworkSecurityGroups property: List of results network security groups diagnostic.
      Returns:
      the evaluatedNetworkSecurityGroups 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<NetworkSecurityGroupResult>
      Throws:
      IOException
    • fromJson

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