Class FirewallPolicyInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.network.fluent.models.FirewallPolicyInner
-
public final class FirewallPolicyInner extends com.azure.core.management.ResourceFirewallPolicy Resource.
-
-
Constructor Summary
Constructors Constructor Description FirewallPolicyInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.core.management.SubResourcebasePolicy()Get the basePolicy property: The parent firewall policy from which rules are inherited.List<com.azure.core.management.SubResource>childPolicies()Get the childPolicies property: List of references to Child Firewall Policies.DnsSettingsdnsSettings()Get the dnsSettings property: DNS Proxy Settings definition.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.ExplicitProxySettingsexplicitProxySettings()Get the explicitProxySettings property: Explicit Proxy Settings definition.List<com.azure.core.management.SubResource>firewalls()Get the firewalls property: List of references to Azure Firewalls that this Firewall Policy is associated with.Stringid()Get the id property: Resource ID.ManagedServiceIdentityidentity()Get the identity property: The identity of the firewall policy.FirewallPolicyInsightsinsights()Get the insights property: Insights on Firewall Policy.FirewallPolicyIntrusionDetectionintrusionDetection()Get the intrusionDetection property: The configuration for Intrusion detection.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the firewall policy resource.List<com.azure.core.management.SubResource>ruleCollectionGroups()Get the ruleCollectionGroups property: List of references to FirewallPolicyRuleCollectionGroups.FirewallPolicySkusku()Get the sku property: The Firewall Policy SKU.FirewallPolicySnatsnat()Get the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT.FirewallPolicySqlsql()Get the sql property: SQL Settings definition.AzureFirewallThreatIntelModethreatIntelMode()Get the threatIntelMode property: The operation mode for Threat Intelligence.FirewallPolicyThreatIntelWhitelistthreatIntelWhitelist()Get the threatIntelWhitelist property: ThreatIntel Whitelist for Firewall Policy.FirewallPolicyTransportSecuritytransportSecurity()Get the transportSecurity property: TLS Configuration definition.voidvalidate()Validates the instance.FirewallPolicyInnerwithBasePolicy(com.azure.core.management.SubResource basePolicy)Set the basePolicy property: The parent firewall policy from which rules are inherited.FirewallPolicyInnerwithDnsSettings(DnsSettings dnsSettings)Set the dnsSettings property: DNS Proxy Settings definition.FirewallPolicyInnerwithExplicitProxySettings(ExplicitProxySettings explicitProxySettings)Set the explicitProxySettings property: Explicit Proxy Settings definition.FirewallPolicyInnerwithId(String id)Set the id property: Resource ID.FirewallPolicyInnerwithIdentity(ManagedServiceIdentity identity)Set the identity property: The identity of the firewall policy.FirewallPolicyInnerwithInsights(FirewallPolicyInsights insights)Set the insights property: Insights on Firewall Policy.FirewallPolicyInnerwithIntrusionDetection(FirewallPolicyIntrusionDetection intrusionDetection)Set the intrusionDetection property: The configuration for Intrusion detection.FirewallPolicyInnerwithLocation(String location)FirewallPolicyInnerwithSku(FirewallPolicySku sku)Set the sku property: The Firewall Policy SKU.FirewallPolicyInnerwithSnat(FirewallPolicySnat snat)Set the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT.FirewallPolicyInnerwithSql(FirewallPolicySql sql)Set the sql property: SQL Settings definition.FirewallPolicyInnerwithTags(Map<String,String> tags)FirewallPolicyInnerwithThreatIntelMode(AzureFirewallThreatIntelMode threatIntelMode)Set the threatIntelMode property: The operation mode for Threat Intelligence.FirewallPolicyInnerwithThreatIntelWhitelist(FirewallPolicyThreatIntelWhitelist threatIntelWhitelist)Set the threatIntelWhitelist property: ThreatIntel Whitelist for Firewall Policy.FirewallPolicyInnerwithTransportSecurity(FirewallPolicyTransportSecurity transportSecurity)Set the transportSecurity property: TLS Configuration definition.
-
-
-
Method Detail
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
identity
public ManagedServiceIdentity identity()
Get the identity property: The identity of the firewall policy.- Returns:
- the identity value.
-
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.
-
id
public String id()
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
public FirewallPolicyInner withId(String id)
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the FirewallPolicyInner object itself.
-
withLocation
public FirewallPolicyInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public FirewallPolicyInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
ruleCollectionGroups
public List<com.azure.core.management.SubResource> ruleCollectionGroups()
Get the ruleCollectionGroups property: List of references to FirewallPolicyRuleCollectionGroups.- Returns:
- the ruleCollectionGroups value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the firewall policy resource.- Returns:
- the provisioningState value.
-
basePolicy
public com.azure.core.management.SubResource basePolicy()
Get the basePolicy property: The parent firewall policy from which rules are inherited.- Returns:
- the basePolicy value.
-
withBasePolicy
public FirewallPolicyInner withBasePolicy(com.azure.core.management.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.
-
firewalls
public List<com.azure.core.management.SubResource> firewalls()
Get the firewalls property: List of references to Azure Firewalls that this Firewall Policy is associated with.- Returns:
- the firewalls value.
-
childPolicies
public List<com.azure.core.management.SubResource> childPolicies()
Get the childPolicies property: List of references to Child Firewall Policies.- Returns:
- the childPolicies value.
-
threatIntelMode
public AzureFirewallThreatIntelMode threatIntelMode()
Get the threatIntelMode property: The operation mode for Threat Intelligence.- Returns:
- the threatIntelMode value.
-
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.
-
threatIntelWhitelist
public FirewallPolicyThreatIntelWhitelist threatIntelWhitelist()
Get the threatIntelWhitelist property: ThreatIntel Whitelist for Firewall Policy.- Returns:
- the threatIntelWhitelist value.
-
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.
-
insights
public FirewallPolicyInsights insights()
Get the insights property: Insights on Firewall Policy.- Returns:
- the insights value.
-
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.
-
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.
-
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.
-
sql
public FirewallPolicySql sql()
Get the sql property: SQL Settings definition.- Returns:
- the sql value.
-
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.
-
dnsSettings
public DnsSettings dnsSettings()
Get the dnsSettings property: DNS Proxy Settings definition.- Returns:
- the dnsSettings value.
-
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.
-
explicitProxySettings
public ExplicitProxySettings explicitProxySettings()
Get the explicitProxySettings property: Explicit Proxy Settings definition.- Returns:
- the explicitProxySettings value.
-
withExplicitProxySettings
public FirewallPolicyInner withExplicitProxySettings(ExplicitProxySettings explicitProxySettings)
Set the explicitProxySettings property: Explicit Proxy Settings definition.- Parameters:
explicitProxySettings- the explicitProxySettings value to set.- Returns:
- the FirewallPolicyInner object itself.
-
intrusionDetection
public FirewallPolicyIntrusionDetection intrusionDetection()
Get the intrusionDetection property: The configuration for Intrusion detection.- Returns:
- the intrusionDetection value.
-
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.
-
transportSecurity
public FirewallPolicyTransportSecurity transportSecurity()
Get the transportSecurity property: TLS Configuration definition.- Returns:
- the transportSecurity value.
-
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.
-
sku
public FirewallPolicySku sku()
Get the sku property: The Firewall Policy SKU.- Returns:
- the sku value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-