Class AzureFirewallInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.network.fluent.models.AzureFirewallInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class AzureFirewallInner extends com.azure.core.management.Resource
Azure Firewall resource.
  • Constructor Details

    • AzureFirewallInner

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

    • zones

      public List<String> zones()
      Get the zones property: A list of availability zones denoting where the resource needs to come from.
      Returns:
      the zones value.
    • withZones

      public AzureFirewallInner withZones(List<String> zones)
      Set the zones property: A list of availability zones denoting where the resource needs to come from.
      Parameters:
      zones - the zones value to set.
      Returns:
      the AzureFirewallInner object itself.
    • etag

      public String etag()
      Get the etag property: A unique read-only string that changes whenever the resource is updated.
      Returns:
      the etag value.
    • id

      public String id()
      Get the id property: Resource ID.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • withId

      public AzureFirewallInner withId(String id)
      Set the id property: Resource ID.
      Parameters:
      id - the id value to set.
      Returns:
      the AzureFirewallInner object itself.
    • withLocation

      public AzureFirewallInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public AzureFirewallInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • applicationRuleCollections

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

      public AzureFirewallInner 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 AzureFirewallInner 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 AzureFirewallInner 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 AzureFirewallInner 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 AzureFirewallInner 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 AzureFirewallInner object itself.
    • ipConfigurations

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

      public AzureFirewallInner withIpConfigurations(List<AzureFirewallIpConfiguration> ipConfigurations)
      Set the ipConfigurations property: IP configuration of the Azure Firewall resource.
      Parameters:
      ipConfigurations - the ipConfigurations value to set.
      Returns:
      the AzureFirewallInner 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 AzureFirewallInner 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 AzureFirewallInner 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 AzureFirewallInner withThreatIntelMode(AzureFirewallThreatIntelMode threatIntelMode)
      Set the threatIntelMode property: The operation mode for Threat Intelligence.
      Parameters:
      threatIntelMode - the threatIntelMode value to set.
      Returns:
      the AzureFirewallInner 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 AzureFirewallInner 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 AzureFirewallInner 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 AzureFirewallInner 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 AzureFirewallInner object itself.
    • hubIpAddresses

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

      public AzureFirewallInner withHubIpAddresses(HubIpAddresses hubIpAddresses)
      Set the hubIpAddresses property: IP addresses associated with AzureFirewall.
      Parameters:
      hubIpAddresses - the hubIpAddresses value to set.
      Returns:
      the AzureFirewallInner 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

      public AzureFirewallInner withSku(AzureFirewallSku sku)
      Set the sku property: The Azure Firewall Resource SKU.
      Parameters:
      sku - the sku value to set.
      Returns:
      the AzureFirewallInner 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 AzureFirewallInner 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 AzureFirewallInner object itself.
    • validate

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