FirewallPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. FirewallPolicyInner
- com.
- com.
- com.
public final class FirewallPolicyInner
extends Resource
FirewallPolicy Resource.
Constructor Summary
Constructor | Description |
---|---|
FirewallPolicyInner() |
Creates an instance of Firewall |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sub |
basePolicy()
Get the base |
List<Sub |
childPolicies()
Get the child |
Dns |
dnsSettings()
Get the dns |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
Explicit |
explicitProxy()
Get the explicit |
List<Sub |
firewalls()
Get the firewalls property: List of references to Azure Firewalls that this Firewall Policy is associated with. |
static
Firewall |
fromJson(JsonReader jsonReader)
Reads an instance of Firewall |
String |
id()
Get the id property: Resource ID. |
Managed |
identity()
Get the identity property: The identity of the firewall policy. |
Firewall |
insights()
Get the insights property: Insights on Firewall Policy. |
Firewall |
intrusionDetection()
Get the intrusion |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
List<Sub |
ruleCollectionGroups()
Get the rule |
String |
size()
Get the size property: A read-only string that represents the size of the Firewall |
Firewall |
sku()
Get the sku property: The Firewall Policy SKU. |
Firewall |
snat()
Get the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT. |
Firewall |
sql()
Get the sql property: SQL Settings definition. |
Azure |
threatIntelMode()
Get the threat |
Firewall |
threatIntelWhitelist()
Get the threat |
Json |
toJson(JsonWriter jsonWriter) |
Firewall |
transportSecurity()
Get the transport |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Firewall |
withBasePolicy(SubResource basePolicy)
Set the base |
Firewall |
withDnsSettings(DnsSettings dnsSettings)
Set the dns |
Firewall |
withExplicitProxy(ExplicitProxy explicitProxy)
Set the explicit |
Firewall |
withId(String id)
Set the id property: Resource ID. |
Firewall |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: The identity of the firewall policy. |
Firewall |
withInsights(FirewallPolicyInsights insights)
Set the insights property: Insights on Firewall Policy. |
Firewall |
withIntrusionDetection(FirewallPolicyIntrusionDetection intrusionDetection)
Set the intrusion |
Firewall |
withLocation(String location) |
Firewall |
withSku(FirewallPolicySku sku)
Set the sku property: The Firewall Policy SKU. |
Firewall |
withSnat(FirewallPolicySnat snat)
Set the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT. |
Firewall |
withSql(FirewallPolicySql sql)
Set the sql property: SQL Settings definition. |
Firewall |
withTags(Map<String,String> tags) |
Firewall |
withThreatIntelMode(AzureFirewallThreatIntelMode threatIntelMode)
Set the threat |
Firewall |
withThreatIntelWhitelist(FirewallPolicyThreatIntelWhitelist threatIntelWhitelist)
Set the threat |
Firewall |
withTransportSecurity(FirewallPolicyTransportSecurity transportSecurity)
Set the transport |
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:
childPolicies
public List
Get the childPolicies property: List of references to Child Firewall Policies.
Returns:
dnsSettings
public DnsSettings dnsSettings()
Get the dnsSettings property: DNS Proxy Settings definition.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
explicitProxy
public ExplicitProxy explicitProxy()
Get the explicitProxy property: Explicit Proxy Settings definition.
Returns:
firewalls
public List
Get the firewalls property: List of references to Azure Firewalls that this Firewall Policy is associated with.
Returns:
fromJson
public static FirewallPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of FirewallPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
FirewallPolicyInner.id()Returns:
identity
public ManagedServiceIdentity identity()
Get the identity property: The identity of the firewall policy.
Returns:
insights
public FirewallPolicyInsights insights()
Get the insights property: Insights on Firewall Policy.
Returns:
intrusionDetection
public FirewallPolicyIntrusionDetection intrusionDetection()
Get the intrusionDetection property: The configuration for Intrusion detection.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
FirewallPolicyInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the firewall policy resource.
Returns:
ruleCollectionGroups
public List
Get the ruleCollectionGroups property: List of references to FirewallPolicyRuleCollectionGroups.
Returns:
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:
sku
public FirewallPolicySku sku()
Get the sku property: The Firewall Policy SKU.
Returns:
snat
public FirewallPolicySnat snat()
Get the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT.
Returns:
sql
public FirewallPolicySql sql()
Get the sql property: SQL Settings definition.
Returns:
threatIntelMode
public AzureFirewallThreatIntelMode threatIntelMode()
Get the threatIntelMode property: The operation mode for Threat Intelligence.
Returns:
threatIntelWhitelist
public FirewallPolicyThreatIntelWhitelist threatIntelWhitelist()
Get the threatIntelWhitelist property: ThreatIntel Whitelist for Firewall Policy.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FirewallPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
transportSecurity
public FirewallPolicyTransportSecurity transportSecurity()
Get the transportSecurity property: TLS Configuration definition.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
FirewallPolicyInner.type()Returns:
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:
Returns:
withDnsSettings
public FirewallPolicyInner withDnsSettings(DnsSettings dnsSettings)
Set the dnsSettings property: DNS Proxy Settings definition.
Parameters:
Returns:
withExplicitProxy
public FirewallPolicyInner withExplicitProxy(ExplicitProxy explicitProxy)
Set the explicitProxy property: Explicit Proxy Settings definition.
Parameters:
Returns:
withId
public FirewallPolicyInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withIdentity
public FirewallPolicyInner withIdentity(ManagedServiceIdentity identity)
Set the identity property: The identity of the firewall policy.
Parameters:
Returns:
withInsights
public FirewallPolicyInner withInsights(FirewallPolicyInsights insights)
Set the insights property: Insights on Firewall Policy.
Parameters:
Returns:
withIntrusionDetection
public FirewallPolicyInner withIntrusionDetection(FirewallPolicyIntrusionDetection intrusionDetection)
Set the intrusionDetection property: The configuration for Intrusion detection.
Parameters:
Returns:
withLocation
public FirewallPolicyInner withLocation(String location)
Overrides:
FirewallPolicyInner.withLocation(String location)Parameters:
withSku
public FirewallPolicyInner withSku(FirewallPolicySku sku)
Set the sku property: The Firewall Policy SKU.
Parameters:
Returns:
withSnat
public FirewallPolicyInner withSnat(FirewallPolicySnat snat)
Set the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT.
Parameters:
Returns:
withSql
public FirewallPolicyInner withSql(FirewallPolicySql sql)
Set the sql property: SQL Settings definition.
Parameters:
Returns:
withTags
public FirewallPolicyInner withTags(Map
Overrides:
FirewallPolicyInner.withTags(Map<String,String> tags)Parameters:
withThreatIntelMode
public FirewallPolicyInner withThreatIntelMode(AzureFirewallThreatIntelMode threatIntelMode)
Set the threatIntelMode property: The operation mode for Threat Intelligence.
Parameters:
Returns:
withThreatIntelWhitelist
public FirewallPolicyInner withThreatIntelWhitelist(FirewallPolicyThreatIntelWhitelist threatIntelWhitelist)
Set the threatIntelWhitelist property: ThreatIntel Whitelist for Firewall Policy.
Parameters:
Returns:
withTransportSecurity
public FirewallPolicyInner withTransportSecurity(FirewallPolicyTransportSecurity transportSecurity)
Set the transportSecurity property: TLS Configuration definition.
Parameters:
Returns:
Applies to
Azure SDK for Java