Class FirewallPolicySnat

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

public final class FirewallPolicySnat extends Object
The private IP addresses/IP ranges to which traffic will not be SNAT.
  • Constructor Details

    • FirewallPolicySnat

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

    • privateRanges

      public List<String> privateRanges()
      Get the privateRanges property: List of private IP addresses/IP address ranges to not be SNAT.
      Returns:
      the privateRanges value.
    • withPrivateRanges

      public FirewallPolicySnat withPrivateRanges(List<String> privateRanges)
      Set the privateRanges property: List of private IP addresses/IP address ranges to not be SNAT.
      Parameters:
      privateRanges - the privateRanges value to set.
      Returns:
      the FirewallPolicySnat object itself.
    • autoLearnPrivateRanges

      public AutoLearnPrivateRangesMode autoLearnPrivateRanges()
      Get the autoLearnPrivateRanges property: The operation mode for automatically learning private ranges to not be SNAT.
      Returns:
      the autoLearnPrivateRanges value.
    • withAutoLearnPrivateRanges

      public FirewallPolicySnat withAutoLearnPrivateRanges(AutoLearnPrivateRangesMode autoLearnPrivateRanges)
      Set the autoLearnPrivateRanges property: The operation mode for automatically learning private ranges to not be SNAT.
      Parameters:
      autoLearnPrivateRanges - the autoLearnPrivateRanges value to set.
      Returns:
      the FirewallPolicySnat object itself.
    • validate

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