Class FirewallPolicyInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.network.fluent.models.FirewallPolicyInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class FirewallPolicyInner
extends com.azure.core.management.Resource
FirewallPolicy Resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.management.SubResourceGet the basePolicy property: The parent firewall policy from which rules are inherited.List<com.azure.core.management.SubResource> Get the childPolicies property: List of references to Child Firewall Policies.Get the dnsSettings property: DNS Proxy Settings definition.etag()Get the etag property: A unique read-only string that changes whenever the resource is updated.Get the explicitProxy property: Explicit Proxy Settings definition.List<com.azure.core.management.SubResource> Get the firewalls property: List of references to Azure Firewalls that this Firewall Policy is associated with.static FirewallPolicyInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FirewallPolicyInner from the JsonReader.id()Get the id property: Resource ID.identity()Get the identity property: The identity of the firewall policy.insights()Get the insights property: Insights on Firewall Policy.Get the intrusionDetection property: The configuration for Intrusion detection.name()Get the name property: The name of the resource.Get the provisioningState property: The provisioning state of the firewall policy resource.List<com.azure.core.management.SubResource> Get the ruleCollectionGroups property: List of references to FirewallPolicyRuleCollectionGroups.size()Get the size property: A read-only string that represents the size of the FirewallPolicyPropertiesFormat in MB.sku()Get the sku property: The Firewall Policy SKU.snat()Get the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT.sql()Get the sql property: SQL Settings definition.Get the threatIntelMode property: The operation mode for Threat Intelligence.Get the threatIntelWhitelist property: ThreatIntel Whitelist for Firewall Policy.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the transportSecurity property: TLS Configuration definition.type()Get the type property: The type of the resource.voidvalidate()Validates the instance.withBasePolicy(com.azure.core.management.SubResource basePolicy) Set the basePolicy property: The parent firewall policy from which rules are inherited.withDnsSettings(DnsSettings dnsSettings) Set the dnsSettings property: DNS Proxy Settings definition.withExplicitProxy(ExplicitProxy explicitProxy) Set the explicitProxy property: Explicit Proxy Settings definition.Set the id property: Resource ID.withIdentity(ManagedServiceIdentity identity) Set the identity property: The identity of the firewall policy.withInsights(FirewallPolicyInsights insights) Set the insights property: Insights on Firewall Policy.withIntrusionDetection(FirewallPolicyIntrusionDetection intrusionDetection) Set the intrusionDetection property: The configuration for Intrusion detection.withLocation(String location) withSku(FirewallPolicySku sku) Set the sku property: The Firewall Policy SKU.withSnat(FirewallPolicySnat snat) Set the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT.withSql(FirewallPolicySql sql) Set the sql property: SQL Settings definition.withThreatIntelMode(AzureFirewallThreatIntelMode threatIntelMode) Set the threatIntelMode property: The operation mode for Threat Intelligence.withThreatIntelWhitelist(FirewallPolicyThreatIntelWhitelist threatIntelWhitelist) Set the threatIntelWhitelist property: ThreatIntel Whitelist for Firewall Policy.withTransportSecurity(FirewallPolicyTransportSecurity transportSecurity) Set the transportSecurity property: TLS Configuration definition.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
-
FirewallPolicyInner
public FirewallPolicyInner()Creates an instance of FirewallPolicyInner class.
-
-
Method Details
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
identity
Get the identity property: The identity of the firewall policy.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The identity of the firewall policy.- Parameters:
identity- the identity value to set.- Returns:
- the FirewallPolicyInner object itself.
-
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 FirewallPolicyInner 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
-
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.
-
ruleCollectionGroups
Get the ruleCollectionGroups property: List of references to FirewallPolicyRuleCollectionGroups.- Returns:
- the ruleCollectionGroups value.
-
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
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
Get the firewalls property: List of references to Azure Firewalls that this Firewall Policy is associated with.- Returns:
- the firewalls value.
-
childPolicies
Get the childPolicies property: List of references to Child Firewall Policies.- Returns:
- the childPolicies 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 FirewallPolicyInner object itself.
-
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
Get the insights property: Insights on Firewall Policy.- Returns:
- the insights value.
-
withInsights
Set the insights property: Insights on Firewall Policy.- Parameters:
insights- the insights value to set.- Returns:
- the FirewallPolicyInner object itself.
-
snat
Get the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT.- Returns:
- the snat value.
-
withSnat
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
Get the sql property: SQL Settings definition.- Returns:
- the sql value.
-
withSql
Set the sql property: SQL Settings definition.- Parameters:
sql- the sql value to set.- Returns:
- the FirewallPolicyInner object itself.
-
dnsSettings
Get the dnsSettings property: DNS Proxy Settings definition.- Returns:
- the dnsSettings value.
-
withDnsSettings
Set the dnsSettings property: DNS Proxy Settings definition.- Parameters:
dnsSettings- the dnsSettings value to set.- Returns:
- the FirewallPolicyInner object itself.
-
explicitProxy
Get the explicitProxy property: Explicit Proxy Settings definition.- Returns:
- the explicitProxy value.
-
withExplicitProxy
Set the explicitProxy property: Explicit Proxy Settings definition.- Parameters:
explicitProxy- the explicitProxy value to set.- Returns:
- the FirewallPolicyInner object itself.
-
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
Get the transportSecurity property: TLS Configuration definition.- Returns:
- the transportSecurity value.
-
withTransportSecurity
Set the transportSecurity property: TLS Configuration definition.- Parameters:
transportSecurity- the transportSecurity value to set.- Returns:
- the FirewallPolicyInner object itself.
-
sku
Get the sku property: The Firewall Policy SKU.- Returns:
- the sku value.
-
withSku
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.
-
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 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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the FirewallPolicyInner.
-