Class FirewallPolicyPropertiesFormat

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

public final class FirewallPolicyPropertiesFormat extends Object implements com.azure.json.JsonSerializable<FirewallPolicyPropertiesFormat>
Firewall Policy definition.
  • Constructor Details

    • FirewallPolicyPropertiesFormat

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

    • size

      public String size()
      Get the size property: A read-only string that represents the size of the FirewallPolicyPropertiesFormat in MB. (ex 0.5MB).
      Returns:
      the size value.
    • ruleCollectionGroups

      public List<com.azure.core.management.SubResource> ruleCollectionGroups()
      Get the ruleCollectionGroups property: List of references to FirewallPolicyRuleCollectionGroups.
      Returns:
      the ruleCollectionGroups value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the firewall policy resource.
      Returns:
      the provisioningState value.
    • basePolicy

      public com.azure.core.management.SubResource basePolicy()
      Get the basePolicy property: The parent firewall policy from which rules are inherited.
      Returns:
      the basePolicy value.
    • withBasePolicy

      public FirewallPolicyPropertiesFormat withBasePolicy(com.azure.core.management.SubResource basePolicy)
      Set the basePolicy property: The parent firewall policy from which rules are inherited.
      Parameters:
      basePolicy - the basePolicy value to set.
      Returns:
      the FirewallPolicyPropertiesFormat object itself.
    • firewalls

      public List<com.azure.core.management.SubResource> firewalls()
      Get the firewalls property: List of references to Azure Firewalls that this Firewall Policy is associated with.
      Returns:
      the firewalls value.
    • childPolicies

      public List<com.azure.core.management.SubResource> childPolicies()
      Get the childPolicies property: List of references to Child Firewall Policies.
      Returns:
      the childPolicies value.
    • threatIntelMode

      public AzureFirewallThreatIntelMode threatIntelMode()
      Get the threatIntelMode property: The operation mode for Threat Intelligence.
      Returns:
      the threatIntelMode value.
    • withThreatIntelMode

      public FirewallPolicyPropertiesFormat withThreatIntelMode(AzureFirewallThreatIntelMode threatIntelMode)
      Set the threatIntelMode property: The operation mode for Threat Intelligence.
      Parameters:
      threatIntelMode - the threatIntelMode value to set.
      Returns:
      the FirewallPolicyPropertiesFormat object itself.
    • threatIntelWhitelist

      public FirewallPolicyThreatIntelWhitelist threatIntelWhitelist()
      Get the threatIntelWhitelist property: ThreatIntel Whitelist for Firewall Policy.
      Returns:
      the threatIntelWhitelist value.
    • withThreatIntelWhitelist

      public FirewallPolicyPropertiesFormat withThreatIntelWhitelist(FirewallPolicyThreatIntelWhitelist threatIntelWhitelist)
      Set the threatIntelWhitelist property: ThreatIntel Whitelist for Firewall Policy.
      Parameters:
      threatIntelWhitelist - the threatIntelWhitelist value to set.
      Returns:
      the FirewallPolicyPropertiesFormat object itself.
    • insights

      public FirewallPolicyInsights insights()
      Get the insights property: Insights on Firewall Policy.
      Returns:
      the insights value.
    • withInsights

      Set the insights property: Insights on Firewall Policy.
      Parameters:
      insights - the insights value to set.
      Returns:
      the FirewallPolicyPropertiesFormat object itself.
    • snat

      public FirewallPolicySnat snat()
      Get the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT.
      Returns:
      the snat value.
    • withSnat

      Set the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT.
      Parameters:
      snat - the snat value to set.
      Returns:
      the FirewallPolicyPropertiesFormat object itself.
    • sql

      public FirewallPolicySql sql()
      Get the sql property: SQL Settings definition.
      Returns:
      the sql value.
    • withSql

      Set the sql property: SQL Settings definition.
      Parameters:
      sql - the sql value to set.
      Returns:
      the FirewallPolicyPropertiesFormat object itself.
    • dnsSettings

      public DnsSettings dnsSettings()
      Get the dnsSettings property: DNS Proxy Settings definition.
      Returns:
      the dnsSettings value.
    • withDnsSettings

      public FirewallPolicyPropertiesFormat withDnsSettings(DnsSettings dnsSettings)
      Set the dnsSettings property: DNS Proxy Settings definition.
      Parameters:
      dnsSettings - the dnsSettings value to set.
      Returns:
      the FirewallPolicyPropertiesFormat object itself.
    • explicitProxy

      public ExplicitProxy explicitProxy()
      Get the explicitProxy property: Explicit Proxy Settings definition.
      Returns:
      the explicitProxy value.
    • withExplicitProxy

      public FirewallPolicyPropertiesFormat withExplicitProxy(ExplicitProxy explicitProxy)
      Set the explicitProxy property: Explicit Proxy Settings definition.
      Parameters:
      explicitProxy - the explicitProxy value to set.
      Returns:
      the FirewallPolicyPropertiesFormat object itself.
    • intrusionDetection

      public FirewallPolicyIntrusionDetection intrusionDetection()
      Get the intrusionDetection property: The configuration for Intrusion detection.
      Returns:
      the intrusionDetection value.
    • withIntrusionDetection

      public FirewallPolicyPropertiesFormat withIntrusionDetection(FirewallPolicyIntrusionDetection intrusionDetection)
      Set the intrusionDetection property: The configuration for Intrusion detection.
      Parameters:
      intrusionDetection - the intrusionDetection value to set.
      Returns:
      the FirewallPolicyPropertiesFormat object itself.
    • transportSecurity

      public FirewallPolicyTransportSecurity transportSecurity()
      Get the transportSecurity property: TLS Configuration definition.
      Returns:
      the transportSecurity value.
    • withTransportSecurity

      public FirewallPolicyPropertiesFormat withTransportSecurity(FirewallPolicyTransportSecurity transportSecurity)
      Set the transportSecurity property: TLS Configuration definition.
      Parameters:
      transportSecurity - the transportSecurity value to set.
      Returns:
      the FirewallPolicyPropertiesFormat object itself.
    • sku

      public FirewallPolicySku sku()
      Get the sku property: The Firewall Policy SKU.
      Returns:
      the sku value.
    • withSku

      Set the sku property: The Firewall Policy SKU.
      Parameters:
      sku - the sku value to set.
      Returns:
      the FirewallPolicyPropertiesFormat 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<FirewallPolicyPropertiesFormat>
      Throws:
      IOException
    • fromJson

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