AzureFirewallInner Class

public final class AzureFirewallInner
extends Resource

Azure Firewall resource.

Constructor Summary

Constructor Description
AzureFirewallInner()

Creates an instance of AzureFirewallInner class.

Method Summary

Modifier and Type Method and Description
Map<String,String> additionalProperties()

Get the additionalProperties property: The additional properties used to further config this azure firewall.

List<AzureFirewallApplicationRuleCollection> applicationRuleCollections()

Get the applicationRuleCollections property: Collection of application rule collections used by Azure Firewall.

AzureFirewallAutoscaleConfiguration autoscaleConfiguration()

Get the autoscaleConfiguration property: Properties to provide a custom autoscale configuration to this azure firewall.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

SubResource firewallPolicy()

Get the firewallPolicy property: The firewallPolicy associated with this azure firewall.

static AzureFirewallInner fromJson(JsonReader jsonReader)

Reads an instance of AzureFirewallInner from the JsonReader.

HubIpAddresses hubIpAddresses()

Get the hubIpAddresses property: IP addresses associated with AzureFirewall.

String id()

Get the id property: Resource ID.

List<AzureFirewallIpConfiguration> ipConfigurations()

Get the ipConfigurations property: IP configuration of the Azure Firewall resource.

List<AzureFirewallIpGroups> ipGroups()

Get the ipGroups property: IpGroups associated with AzureFirewall.

AzureFirewallIpConfiguration managementIpConfiguration()

Get the managementIpConfiguration property: IP configuration of the Azure Firewall used for management traffic.

String name()

Get the name property: The name of the resource.

List<AzureFirewallNatRuleCollection> natRuleCollections()

Get the natRuleCollections property: Collection of NAT rule collections used by Azure Firewall.

List<AzureFirewallNetworkRuleCollection> networkRuleCollections()

Get the networkRuleCollections property: Collection of network rule collections used by Azure Firewall.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the Azure firewall resource.

AzureFirewallSku sku()

Get the sku property: The Azure Firewall Resource SKU.

AzureFirewallThreatIntelMode threatIntelMode()

Get the threatIntelMode property: The operation mode for Threat Intelligence.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SubResource virtualHub()

Get the virtualHub property: The virtualHub to which the firewall belongs.

AzureFirewallInner withAdditionalProperties(Map<String,String> additionalProperties)

Set the additionalProperties property: The additional properties used to further config this azure firewall.

AzureFirewallInner withApplicationRuleCollections(List<AzureFirewallApplicationRuleCollection> applicationRuleCollections)

Set the applicationRuleCollections property: Collection of application rule collections used by Azure Firewall.

AzureFirewallInner withAutoscaleConfiguration(AzureFirewallAutoscaleConfiguration autoscaleConfiguration)

Set the autoscaleConfiguration property: Properties to provide a custom autoscale configuration to this azure firewall.

AzureFirewallInner withFirewallPolicy(SubResource firewallPolicy)

Set the firewallPolicy property: The firewallPolicy associated with this azure firewall.

AzureFirewallInner withHubIpAddresses(HubIpAddresses hubIpAddresses)

Set the hubIpAddresses property: IP addresses associated with AzureFirewall.

AzureFirewallInner withId(String id)

Set the id property: Resource ID.

AzureFirewallInner withIpConfigurations(List<AzureFirewallIpConfiguration> ipConfigurations)

Set the ipConfigurations property: IP configuration of the Azure Firewall resource.

AzureFirewallInner withLocation(String location)
AzureFirewallInner withManagementIpConfiguration(AzureFirewallIpConfiguration managementIpConfiguration)

Set the managementIpConfiguration property: IP configuration of the Azure Firewall used for management traffic.

AzureFirewallInner withNatRuleCollections(List<AzureFirewallNatRuleCollection> natRuleCollections)

Set the natRuleCollections property: Collection of NAT rule collections used by Azure Firewall.

AzureFirewallInner withNetworkRuleCollections(List<AzureFirewallNetworkRuleCollection> networkRuleCollections)

Set the networkRuleCollections property: Collection of network rule collections used by Azure Firewall.

AzureFirewallInner withSku(AzureFirewallSku sku)

Set the sku property: The Azure Firewall Resource SKU.

AzureFirewallInner withTags(Map<String,String> tags)
AzureFirewallInner withThreatIntelMode(AzureFirewallThreatIntelMode threatIntelMode)

Set the threatIntelMode property: The operation mode for Threat Intelligence.

AzureFirewallInner withVirtualHub(SubResource virtualHub)

Set the virtualHub property: The virtualHub to which the firewall belongs.

AzureFirewallInner withZones(List<String> zones)

Set the zones property: A list of availability zones denoting where the resource needs to come from.

List<String> zones()

Get the zones property: A list of availability zones denoting where the resource needs to come from.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

AzureFirewallInner

public AzureFirewallInner()

Creates an instance of AzureFirewallInner class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: The additional properties used to further config this azure firewall.

Returns:

the additionalProperties value.

applicationRuleCollections

public List applicationRuleCollections()

Get the applicationRuleCollections property: Collection of application rule collections used by Azure Firewall.

Returns:

the applicationRuleCollections value.

autoscaleConfiguration

public AzureFirewallAutoscaleConfiguration autoscaleConfiguration()

Get the autoscaleConfiguration property: Properties to provide a custom autoscale configuration to this azure firewall.

Returns:

the autoscaleConfiguration value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

firewallPolicy

public SubResource firewallPolicy()

Get the firewallPolicy property: The firewallPolicy associated with this azure firewall.

Returns:

the firewallPolicy value.

fromJson

public static AzureFirewallInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

hubIpAddresses

public HubIpAddresses hubIpAddresses()

Get the hubIpAddresses property: IP addresses associated with AzureFirewall.

Returns:

the hubIpAddresses value.

id

public String id()

Get the id property: Resource ID.

Overrides:

AzureFirewallInner.id()

Returns:

the id value.

ipConfigurations

public List ipConfigurations()

Get the ipConfigurations property: IP configuration of the Azure Firewall resource.

Returns:

the ipConfigurations value.

ipGroups

public List ipGroups()

Get the ipGroups property: IpGroups associated with AzureFirewall.

Returns:

the ipGroups value.

managementIpConfiguration

public AzureFirewallIpConfiguration managementIpConfiguration()

Get the managementIpConfiguration property: IP configuration of the Azure Firewall used for management traffic.

Returns:

the managementIpConfiguration value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AzureFirewallInner.name()

Returns:

the name value.

natRuleCollections

public List natRuleCollections()

Get the natRuleCollections property: Collection of NAT rule collections used by Azure Firewall.

Returns:

the natRuleCollections value.

networkRuleCollections

public List networkRuleCollections()

Get the networkRuleCollections property: Collection of network rule collections used by Azure Firewall.

Returns:

the networkRuleCollections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the Azure firewall resource.

Returns:

the provisioningState value.

sku

public AzureFirewallSku sku()

Get the sku property: The Azure Firewall Resource SKU.

Returns:

the sku value.

threatIntelMode

public AzureFirewallThreatIntelMode threatIntelMode()

Get the threatIntelMode property: The operation mode for Threat Intelligence.

Returns:

the threatIntelMode value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AzureFirewallInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AzureFirewallInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

virtualHub

public SubResource virtualHub()

Get the virtualHub property: The virtualHub to which the firewall belongs.

Returns:

the virtualHub value.

withAdditionalProperties

public AzureFirewallInner withAdditionalProperties(Map 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.

withApplicationRuleCollections

public AzureFirewallInner withApplicationRuleCollections(List 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.

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.

withFirewallPolicy

public AzureFirewallInner withFirewallPolicy(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.

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.

withId

public AzureFirewallInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the AzureFirewallInner object itself.

withIpConfigurations

public AzureFirewallInner withIpConfigurations(List ipConfigurations)

Set the ipConfigurations property: IP configuration of the Azure Firewall resource.

Parameters:

ipConfigurations - the ipConfigurations value to set.

Returns:

the AzureFirewallInner object itself.

withLocation

public AzureFirewallInner withLocation(String location)

Overrides:

AzureFirewallInner.withLocation(String location)

Parameters:

location

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.

withNatRuleCollections

public AzureFirewallInner withNatRuleCollections(List 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.

withNetworkRuleCollections

public AzureFirewallInner withNetworkRuleCollections(List 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.

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.

withTags

public AzureFirewallInner withTags(Map tags)

Overrides:

AzureFirewallInner.withTags(Map<String,String> tags)

Parameters:

tags

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.

withVirtualHub

public AzureFirewallInner withVirtualHub(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.

withZones

public AzureFirewallInner withZones(List 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.

zones

public List zones()

Get the zones property: A list of availability zones denoting where the resource needs to come from.

Returns:

the zones value.

Applies to