FirewallPolicyInner Class

public final class FirewallPolicyInner
extends Resource

FirewallPolicy Resource.

Constructor Summary

Constructor Description
FirewallPolicyInner()

Creates an instance of FirewallPolicyInner class.

Method Summary

Modifier and Type Method and Description
SubResource basePolicy()

Get the basePolicy property: The parent firewall policy from which rules are inherited.

List<SubResource> childPolicies()

Get the childPolicies property: List of references to Child Firewall Policies.

DnsSettings dnsSettings()

Get the dnsSettings property: DNS Proxy Settings definition.

String etag()

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

ExplicitProxy explicitProxy()

Get the explicitProxy property: Explicit Proxy Settings definition.

List<SubResource> firewalls()

Get the firewalls property: List of references to Azure Firewalls that this Firewall Policy is associated with.

static FirewallPolicyInner fromJson(JsonReader jsonReader)

Reads an instance of FirewallPolicyInner from the JsonReader.

String id()

Get the id property: Resource ID.

ManagedServiceIdentity identity()

Get the identity property: The identity of the firewall policy.

FirewallPolicyInsights insights()

Get the insights property: Insights on Firewall Policy.

FirewallPolicyIntrusionDetection intrusionDetection()

Get the intrusionDetection property: The configuration for Intrusion detection.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

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

List<SubResource> ruleCollectionGroups()

Get the ruleCollectionGroups property: List of references to FirewallPolicyRuleCollectionGroups.

String size()

Get the size property: A read-only string that represents the size of the FirewallPolicyPropertiesFormat in MB.

FirewallPolicySku sku()

Get the sku property: The Firewall Policy SKU.

FirewallPolicySnat snat()

Get the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT.

FirewallPolicySql sql()

Get the sql property: SQL Settings definition.

AzureFirewallThreatIntelMode threatIntelMode()

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

FirewallPolicyThreatIntelWhitelist threatIntelWhitelist()

Get the threatIntelWhitelist property: ThreatIntel Whitelist for Firewall Policy.

JsonWriter toJson(JsonWriter jsonWriter)
FirewallPolicyTransportSecurity transportSecurity()

Get the transportSecurity property: TLS Configuration definition.

String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

FirewallPolicyInner withBasePolicy(SubResource basePolicy)

Set the basePolicy property: The parent firewall policy from which rules are inherited.

FirewallPolicyInner withDnsSettings(DnsSettings dnsSettings)

Set the dnsSettings property: DNS Proxy Settings definition.

FirewallPolicyInner withExplicitProxy(ExplicitProxy explicitProxy)

Set the explicitProxy property: Explicit Proxy Settings definition.

FirewallPolicyInner withId(String id)

Set the id property: Resource ID.

FirewallPolicyInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity of the firewall policy.

FirewallPolicyInner withInsights(FirewallPolicyInsights insights)

Set the insights property: Insights on Firewall Policy.

FirewallPolicyInner withIntrusionDetection(FirewallPolicyIntrusionDetection intrusionDetection)

Set the intrusionDetection property: The configuration for Intrusion detection.

FirewallPolicyInner withLocation(String location)
FirewallPolicyInner withSku(FirewallPolicySku sku)

Set the sku property: The Firewall Policy SKU.

FirewallPolicyInner withSnat(FirewallPolicySnat snat)

Set the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT.

FirewallPolicyInner withSql(FirewallPolicySql sql)

Set the sql property: SQL Settings definition.

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

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

FirewallPolicyInner withThreatIntelWhitelist(FirewallPolicyThreatIntelWhitelist threatIntelWhitelist)

Set the threatIntelWhitelist property: ThreatIntel Whitelist for Firewall Policy.

FirewallPolicyInner withTransportSecurity(FirewallPolicyTransportSecurity transportSecurity)

Set the transportSecurity property: TLS Configuration definition.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

FirewallPolicyInner

public FirewallPolicyInner()

Creates an instance of FirewallPolicyInner class.

Method Details

basePolicy

public SubResource basePolicy()

Get the basePolicy property: The parent firewall policy from which rules are inherited.

Returns:

the basePolicy value.

childPolicies

public List childPolicies()

Get the childPolicies property: List of references to Child Firewall Policies.

Returns:

the childPolicies value.

dnsSettings

public DnsSettings dnsSettings()

Get the dnsSettings property: DNS Proxy Settings definition.

Returns:

the dnsSettings 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.

explicitProxy

public ExplicitProxy explicitProxy()

Get the explicitProxy property: Explicit Proxy Settings definition.

Returns:

the explicitProxy value.

firewalls

public List firewalls()

Get the firewalls property: List of references to Azure Firewalls that this Firewall Policy is associated with.

Returns:

the firewalls value.

fromJson

public static FirewallPolicyInner fromJson(JsonReader jsonReader)

Reads an instance of FirewallPolicyInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FirewallPolicyInner 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.

id

public String id()

Get the id property: Resource ID.

Overrides:

FirewallPolicyInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: The identity of the firewall policy.

Returns:

the identity value.

insights

public FirewallPolicyInsights insights()

Get the insights property: Insights on Firewall Policy.

Returns:

the insights value.

intrusionDetection

public FirewallPolicyIntrusionDetection intrusionDetection()

Get the intrusionDetection property: The configuration for Intrusion detection.

Returns:

the intrusionDetection value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

FirewallPolicyInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

ruleCollectionGroups

public List ruleCollectionGroups()

Get the ruleCollectionGroups property: List of references to FirewallPolicyRuleCollectionGroups.

Returns:

the ruleCollectionGroups value.

size

public String size()

Get the size property: A read-only string that represents the size of the FirewallPolicyPropertiesFormat in MB. (ex 0.5MB).

Returns:

the size value.

sku

public FirewallPolicySku sku()

Get the sku property: The Firewall Policy SKU.

Returns:

the sku value.

snat

public FirewallPolicySnat snat()

Get the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT.

Returns:

the snat value.

sql

public FirewallPolicySql sql()

Get the sql property: SQL Settings definition.

Returns:

the sql value.

threatIntelMode

public AzureFirewallThreatIntelMode threatIntelMode()

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

Returns:

the threatIntelMode value.

threatIntelWhitelist

public FirewallPolicyThreatIntelWhitelist threatIntelWhitelist()

Get the threatIntelWhitelist property: ThreatIntel Whitelist for Firewall Policy.

Returns:

the threatIntelWhitelist value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

FirewallPolicyInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

transportSecurity

public FirewallPolicyTransportSecurity transportSecurity()

Get the transportSecurity property: TLS Configuration definition.

Returns:

the transportSecurity value.

type

public String type()

Get the type property: The type of the resource.

Overrides:

FirewallPolicyInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withBasePolicy

public FirewallPolicyInner withBasePolicy(SubResource basePolicy)

Set the basePolicy property: The parent firewall policy from which rules are inherited.

Parameters:

basePolicy - the basePolicy value to set.

Returns:

the FirewallPolicyInner object itself.

withDnsSettings

public FirewallPolicyInner withDnsSettings(DnsSettings dnsSettings)

Set the dnsSettings property: DNS Proxy Settings definition.

Parameters:

dnsSettings - the dnsSettings value to set.

Returns:

the FirewallPolicyInner object itself.

withExplicitProxy

public FirewallPolicyInner withExplicitProxy(ExplicitProxy explicitProxy)

Set the explicitProxy property: Explicit Proxy Settings definition.

Parameters:

explicitProxy - the explicitProxy value to set.

Returns:

the FirewallPolicyInner object itself.

withId

public FirewallPolicyInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the FirewallPolicyInner object itself.

withIdentity

public FirewallPolicyInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity of the firewall policy.

Parameters:

identity - the identity value to set.

Returns:

the FirewallPolicyInner object itself.

withInsights

public FirewallPolicyInner withInsights(FirewallPolicyInsights insights)

Set the insights property: Insights on Firewall Policy.

Parameters:

insights - the insights value to set.

Returns:

the FirewallPolicyInner object itself.

withIntrusionDetection

public FirewallPolicyInner withIntrusionDetection(FirewallPolicyIntrusionDetection intrusionDetection)

Set the intrusionDetection property: The configuration for Intrusion detection.

Parameters:

intrusionDetection - the intrusionDetection value to set.

Returns:

the FirewallPolicyInner object itself.

withLocation

public FirewallPolicyInner withLocation(String location)

Overrides:

FirewallPolicyInner.withLocation(String location)

Parameters:

location

withSku

public FirewallPolicyInner withSku(FirewallPolicySku sku)

Set the sku property: The Firewall Policy SKU.

Parameters:

sku - the sku value to set.

Returns:

the FirewallPolicyInner object itself.

withSnat

public FirewallPolicyInner withSnat(FirewallPolicySnat snat)

Set the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT.

Parameters:

snat - the snat value to set.

Returns:

the FirewallPolicyInner object itself.

withSql

public FirewallPolicyInner withSql(FirewallPolicySql sql)

Set the sql property: SQL Settings definition.

Parameters:

sql - the sql value to set.

Returns:

the FirewallPolicyInner object itself.

withTags

public FirewallPolicyInner withTags(Map tags)

Overrides:

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

Parameters:

tags

withThreatIntelMode

public FirewallPolicyInner withThreatIntelMode(AzureFirewallThreatIntelMode threatIntelMode)

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

Parameters:

threatIntelMode - the threatIntelMode value to set.

Returns:

the FirewallPolicyInner object itself.

withThreatIntelWhitelist

public FirewallPolicyInner withThreatIntelWhitelist(FirewallPolicyThreatIntelWhitelist threatIntelWhitelist)

Set the threatIntelWhitelist property: ThreatIntel Whitelist for Firewall Policy.

Parameters:

threatIntelWhitelist - the threatIntelWhitelist value to set.

Returns:

the FirewallPolicyInner object itself.

withTransportSecurity

public FirewallPolicyInner withTransportSecurity(FirewallPolicyTransportSecurity transportSecurity)

Set the transportSecurity property: TLS Configuration definition.

Parameters:

transportSecurity - the transportSecurity value to set.

Returns:

the FirewallPolicyInner object itself.

Applies to