Class AzureFirewallPropertiesFormat

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

public final class AzureFirewallPropertiesFormat extends Object implements com.azure.json.JsonSerializable<AzureFirewallPropertiesFormat>
Properties of the Azure Firewall.
  • Constructor Details

    • AzureFirewallPropertiesFormat

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

    • applicationRuleCollections

      public List<AzureFirewallApplicationRuleCollection> applicationRuleCollections()
      Get the applicationRuleCollections property: Collection of application rule collections used by Azure Firewall.
      Returns:
      the applicationRuleCollections value.
    • withApplicationRuleCollections

      public AzureFirewallPropertiesFormat withApplicationRuleCollections(List<AzureFirewallApplicationRuleCollection> applicationRuleCollections)
      Set the applicationRuleCollections property: Collection of application rule collections used by Azure Firewall.
      Parameters:
      applicationRuleCollections - the applicationRuleCollections value to set.
      Returns:
      the AzureFirewallPropertiesFormat object itself.
    • natRuleCollections

      public List<AzureFirewallNatRuleCollection> natRuleCollections()
      Get the natRuleCollections property: Collection of NAT rule collections used by Azure Firewall.
      Returns:
      the natRuleCollections value.
    • withNatRuleCollections

      public AzureFirewallPropertiesFormat withNatRuleCollections(List<AzureFirewallNatRuleCollection> natRuleCollections)
      Set the natRuleCollections property: Collection of NAT rule collections used by Azure Firewall.
      Parameters:
      natRuleCollections - the natRuleCollections value to set.
      Returns:
      the AzureFirewallPropertiesFormat object itself.
    • networkRuleCollections

      public List<AzureFirewallNetworkRuleCollection> networkRuleCollections()
      Get the networkRuleCollections property: Collection of network rule collections used by Azure Firewall.
      Returns:
      the networkRuleCollections value.
    • withNetworkRuleCollections

      public AzureFirewallPropertiesFormat withNetworkRuleCollections(List<AzureFirewallNetworkRuleCollection> networkRuleCollections)
      Set the networkRuleCollections property: Collection of network rule collections used by Azure Firewall.
      Parameters:
      networkRuleCollections - the networkRuleCollections value to set.
      Returns:
      the AzureFirewallPropertiesFormat object itself.
    • ipConfigurations

      public List<AzureFirewallIpConfiguration> ipConfigurations()
      Get the ipConfigurations property: IP configuration of the Azure Firewall resource.
      Returns:
      the ipConfigurations value.
    • withIpConfigurations

      public AzureFirewallPropertiesFormat withIpConfigurations(List<AzureFirewallIpConfiguration> ipConfigurations)
      Set the ipConfigurations property: IP configuration of the Azure Firewall resource.
      Parameters:
      ipConfigurations - the ipConfigurations value to set.
      Returns:
      the AzureFirewallPropertiesFormat object itself.
    • managementIpConfiguration

      public AzureFirewallIpConfiguration managementIpConfiguration()
      Get the managementIpConfiguration property: IP configuration of the Azure Firewall used for management traffic.
      Returns:
      the managementIpConfiguration value.
    • withManagementIpConfiguration

      public AzureFirewallPropertiesFormat withManagementIpConfiguration(AzureFirewallIpConfiguration managementIpConfiguration)
      Set the managementIpConfiguration property: IP configuration of the Azure Firewall used for management traffic.
      Parameters:
      managementIpConfiguration - the managementIpConfiguration value to set.
      Returns:
      the AzureFirewallPropertiesFormat object itself.
    • provisioningState

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

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

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

      public com.azure.core.management.SubResource virtualHub()
      Get the virtualHub property: The virtualHub to which the firewall belongs.
      Returns:
      the virtualHub value.
    • withVirtualHub

      public AzureFirewallPropertiesFormat withVirtualHub(com.azure.core.management.SubResource virtualHub)
      Set the virtualHub property: The virtualHub to which the firewall belongs.
      Parameters:
      virtualHub - the virtualHub value to set.
      Returns:
      the AzureFirewallPropertiesFormat object itself.
    • firewallPolicy

      public com.azure.core.management.SubResource firewallPolicy()
      Get the firewallPolicy property: The firewallPolicy associated with this azure firewall.
      Returns:
      the firewallPolicy value.
    • withFirewallPolicy

      public AzureFirewallPropertiesFormat withFirewallPolicy(com.azure.core.management.SubResource firewallPolicy)
      Set the firewallPolicy property: The firewallPolicy associated with this azure firewall.
      Parameters:
      firewallPolicy - the firewallPolicy value to set.
      Returns:
      the AzureFirewallPropertiesFormat object itself.
    • hubIpAddresses

      public HubIpAddresses hubIpAddresses()
      Get the hubIpAddresses property: IP addresses associated with AzureFirewall.
      Returns:
      the hubIpAddresses value.
    • withHubIpAddresses

      public AzureFirewallPropertiesFormat withHubIpAddresses(HubIpAddresses hubIpAddresses)
      Set the hubIpAddresses property: IP addresses associated with AzureFirewall.
      Parameters:
      hubIpAddresses - the hubIpAddresses value to set.
      Returns:
      the AzureFirewallPropertiesFormat object itself.
    • ipGroups

      public List<AzureFirewallIpGroups> ipGroups()
      Get the ipGroups property: IpGroups associated with AzureFirewall.
      Returns:
      the ipGroups value.
    • sku

      public AzureFirewallSku sku()
      Get the sku property: The Azure Firewall Resource SKU.
      Returns:
      the sku value.
    • withSku

      Set the sku property: The Azure Firewall Resource SKU.
      Parameters:
      sku - the sku value to set.
      Returns:
      the AzureFirewallPropertiesFormat object itself.
    • additionalProperties

      public Map<String,String> additionalProperties()
      Get the additionalProperties property: The additional properties used to further config this azure firewall.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public AzureFirewallPropertiesFormat withAdditionalProperties(Map<String,String> additionalProperties)
      Set the additionalProperties property: The additional properties used to further config this azure firewall.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the AzureFirewallPropertiesFormat object itself.
    • autoscaleConfiguration

      public AzureFirewallAutoscaleConfiguration autoscaleConfiguration()
      Get the autoscaleConfiguration property: Properties to provide a custom autoscale configuration to this azure firewall.
      Returns:
      the autoscaleConfiguration value.
    • withAutoscaleConfiguration

      public AzureFirewallPropertiesFormat withAutoscaleConfiguration(AzureFirewallAutoscaleConfiguration autoscaleConfiguration)
      Set the autoscaleConfiguration property: Properties to provide a custom autoscale configuration to this azure firewall.
      Parameters:
      autoscaleConfiguration - the autoscaleConfiguration value to set.
      Returns:
      the AzureFirewallPropertiesFormat 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<AzureFirewallPropertiesFormat>
      Throws:
      IOException
    • fromJson

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