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 Summary
ConstructorsConstructorDescriptionCreates an instance of AzureFirewallPropertiesFormat class. -
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.com.azure.core.management.SubResourceGet the firewallPolicy property: The firewallPolicy associated with this azure firewall.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AzureFirewallPropertiesFormat from the JsonReader.Get the hubIpAddresses property: IP addresses associated with AzureFirewall.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.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) 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.withIpConfigurations(List<AzureFirewallIpConfiguration> ipConfigurations) Set the ipConfigurations property: IP configuration of the Azure Firewall resource.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.Methods 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
-
AzureFirewallPropertiesFormat
public AzureFirewallPropertiesFormat()Creates an instance of AzureFirewallPropertiesFormat class.
-
-
Method Details
-
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
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
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
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
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
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
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
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 AzureFirewallPropertiesFormat 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 AzureFirewallPropertiesFormat object itself.
-
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
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
- Specified by:
toJsonin interfacecom.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.
-