Class FirewallPolicyIntrusionDetectionConfiguration

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

public final class FirewallPolicyIntrusionDetectionConfiguration extends Object implements com.azure.json.JsonSerializable<FirewallPolicyIntrusionDetectionConfiguration>
The operation for configuring intrusion detection.
  • Constructor Details

    • FirewallPolicyIntrusionDetectionConfiguration

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

    • signatureOverrides

      Get the signatureOverrides property: List of specific signatures states.
      Returns:
      the signatureOverrides value.
    • withSignatureOverrides

      Set the signatureOverrides property: List of specific signatures states.
      Parameters:
      signatureOverrides - the signatureOverrides value to set.
      Returns:
      the FirewallPolicyIntrusionDetectionConfiguration object itself.
    • bypassTrafficSettings

      Get the bypassTrafficSettings property: List of rules for traffic to bypass.
      Returns:
      the bypassTrafficSettings value.
    • withBypassTrafficSettings

      Set the bypassTrafficSettings property: List of rules for traffic to bypass.
      Parameters:
      bypassTrafficSettings - the bypassTrafficSettings value to set.
      Returns:
      the FirewallPolicyIntrusionDetectionConfiguration object itself.
    • privateRanges

      public List<String> privateRanges()
      Get the privateRanges property: IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property.
      Returns:
      the privateRanges value.
    • withPrivateRanges

      public FirewallPolicyIntrusionDetectionConfiguration withPrivateRanges(List<String> privateRanges)
      Set the privateRanges property: IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property.
      Parameters:
      privateRanges - the privateRanges value to set.
      Returns:
      the FirewallPolicyIntrusionDetectionConfiguration 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<FirewallPolicyIntrusionDetectionConfiguration>
      Throws:
      IOException
    • fromJson

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