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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: The additional properties used to further config this azure firewall.Get the applicationRuleCollections property: Collection of application rule collections used by Azure Firewall.Get the autoscaleConfiguration property: Properties to provide a custom autoscale configuration to this azure firewall.etag()Get the etag property: A unique read-only string that changes whenever the resource is updated.com.azure.core.management.SubResourceGet the firewallPolicy property: The firewallPolicy associated with this azure firewall.static AzureFirewallInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AzureFirewallInner from the JsonReader.Get the hubIpAddresses property: IP addresses associated with AzureFirewall.id()Get the id property: Resource ID.Get the ipConfigurations property: IP configuration of the Azure Firewall resource.ipGroups()Get the ipGroups property: IpGroups associated with AzureFirewall.Get the managementIpConfiguration property: IP configuration of the Azure Firewall used for management traffic.name()Get the name property: The name of the resource.Get the natRuleCollections property: Collection of NAT rule collections used by Azure Firewall.Get the networkRuleCollections property: Collection of network rule collections used by Azure Firewall.Get the provisioningState property: The provisioning state of the Azure firewall resource.sku()Get the sku property: The Azure Firewall Resource SKU.Get the threatIntelMode property: The operation mode for Threat Intelligence.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.com.azure.core.management.SubResourceGet the virtualHub property: The virtualHub to which the firewall belongs.withAdditionalProperties(Map<String, String> additionalProperties) Set the additionalProperties property: The additional properties used to further config this azure firewall.withApplicationRuleCollections(List<AzureFirewallApplicationRuleCollection> applicationRuleCollections) Set the applicationRuleCollections property: Collection of application rule collections used by Azure Firewall.withAutoscaleConfiguration(AzureFirewallAutoscaleConfiguration autoscaleConfiguration) Set the autoscaleConfiguration property: Properties to provide a custom autoscale configuration to this azure firewall.withFirewallPolicy(com.azure.core.management.SubResource firewallPolicy) Set the firewallPolicy property: The firewallPolicy associated with this azure firewall.withHubIpAddresses(HubIpAddresses hubIpAddresses) Set the hubIpAddresses property: IP addresses associated with AzureFirewall.Set the id property: Resource ID.withIpConfigurations(List<AzureFirewallIpConfiguration> ipConfigurations) Set the ipConfigurations property: IP configuration of the Azure Firewall resource.withLocation(String location) withManagementIpConfiguration(AzureFirewallIpConfiguration managementIpConfiguration) Set the managementIpConfiguration property: IP configuration of the Azure Firewall used for management traffic.withNatRuleCollections(List<AzureFirewallNatRuleCollection> natRuleCollections) Set the natRuleCollections property: Collection of NAT rule collections used by Azure Firewall.withNetworkRuleCollections(List<AzureFirewallNetworkRuleCollection> networkRuleCollections) Set the networkRuleCollections property: Collection of network rule collections used by Azure Firewall.withSku(AzureFirewallSku sku) Set the sku property: The Azure Firewall Resource SKU.withThreatIntelMode(AzureFirewallThreatIntelMode threatIntelMode) Set the threatIntelMode property: The operation mode for Threat Intelligence.withVirtualHub(com.azure.core.management.SubResource virtualHub) Set the virtualHub property: The virtualHub to which the firewall belongs.Set the zones property: A list of availability zones denoting where the resource needs to come from.zones()Get the zones property: A list of availability zones denoting where the resource needs to come from.Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AzureFirewallInner
public AzureFirewallInner()Creates an instance of AzureFirewallInner class.
-
-
Method Details
-
zones
Get the zones property: A list of availability zones denoting where the resource needs to come from.- Returns:
- the zones value.
-
withZones
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
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
id
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the AzureFirewallInner object itself.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
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
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
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
Get the ipConfigurations property: IP configuration of the Azure Firewall resource.- Returns:
- the ipConfigurations value.
-
withIpConfigurations
Set the ipConfigurations property: IP configuration of the Azure Firewall resource.- Parameters:
ipConfigurations- the ipConfigurations value to set.- Returns:
- the AzureFirewallInner object itself.
-
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
Get the provisioningState property: The provisioning state of the Azure firewall resource.- Returns:
- the provisioningState value.
-
threatIntelMode
Get the threatIntelMode property: The operation mode for Threat Intelligence.- Returns:
- the threatIntelMode value.
-
withThreatIntelMode
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
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
Set the firewallPolicy property: The firewallPolicy associated with this azure firewall.- Parameters:
firewallPolicy- the firewallPolicy value to set.- Returns:
- the AzureFirewallInner object itself.
-
hubIpAddresses
Get the hubIpAddresses property: IP addresses associated with AzureFirewall.- Returns:
- the hubIpAddresses value.
-
withHubIpAddresses
Set the hubIpAddresses property: IP addresses associated with AzureFirewall.- Parameters:
hubIpAddresses- the hubIpAddresses value to set.- Returns:
- the AzureFirewallInner object itself.
-
ipGroups
Get the ipGroups property: IpGroups associated with AzureFirewall.- Returns:
- the ipGroups value.
-
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 AzureFirewallInner object itself.
-
additionalProperties
Get the additionalProperties property: The additional properties used to further config this azure firewall.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
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.
-
autoscaleConfiguration
Get the autoscaleConfiguration property: Properties to provide a custom autoscale configuration to this azure firewall.- Returns:
- the autoscaleConfiguration value.
-
withAutoscaleConfiguration
public AzureFirewallInner 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 AzureFirewallInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.Resource- Throws:
IOException
-
fromJson
Reads an instance of AzureFirewallInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AzureFirewallInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the AzureFirewallInner.
-