Class FirewallPolicyIntrusionDetection

java.lang.Object
com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetection

public final class FirewallPolicyIntrusionDetection extends Object
Configuration for intrusion detection mode and rules.
  • Constructor Details

    • FirewallPolicyIntrusionDetection

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

    • mode

      Get the mode property: Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
      Returns:
      the mode value.
    • withMode

      Set the mode property: Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
      Parameters:
      mode - the mode value to set.
      Returns:
      the FirewallPolicyIntrusionDetection object itself.
    • profile

      Get the profile property: IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
      Returns:
      the profile value.
    • withProfile

      Set the profile property: IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
      Parameters:
      profile - the profile value to set.
      Returns:
      the FirewallPolicyIntrusionDetection object itself.
    • configuration

      Get the configuration property: Intrusion detection configuration properties.
      Returns:
      the configuration value.
    • withConfiguration

      Set the configuration property: Intrusion detection configuration properties.
      Parameters:
      configuration - the configuration value to set.
      Returns:
      the FirewallPolicyIntrusionDetection object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.