FirewallPolicyDraftInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. FirewallPolicyDraftInner
- com.
- com.
- com.
public final class FirewallPolicyDraftInner
extends Resource
FirewallPolicy Resource.
Constructor Summary
Constructor | Description |
---|---|
FirewallPolicyDraftInner() |
Creates an instance of Firewall |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sub |
basePolicy()
Get the base |
Dns |
dnsSettings()
Get the dns |
Explicit |
explicitProxy()
Get the explicit |
static
Firewall |
fromJson(JsonReader jsonReader)
Reads an instance of Firewall |
String |
id()
Get the id property: Resource ID. |
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. |
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) |
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 |
withInsights(FirewallPolicyInsights insights)
Set the insights property: Insights on Firewall Policy. |
Firewall |
withIntrusionDetection(FirewallPolicyIntrusionDetection intrusionDetection)
Set the intrusion |
Firewall |
withLocation(String location) |
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 |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
FirewallPolicyDraftInner
public FirewallPolicyDraftInner()
Creates an instance of FirewallPolicyDraftInner class.
Method Details
basePolicy
public SubResource basePolicy()
Get the basePolicy property: The parent firewall policy from which rules are inherited.
Returns:
dnsSettings
public DnsSettings dnsSettings()
Get the dnsSettings property: DNS Proxy Settings definition.
Returns:
explicitProxy
public ExplicitProxy explicitProxy()
Get the explicitProxy property: Explicit Proxy Settings definition.
Returns:
fromJson
public static FirewallPolicyDraftInner fromJson(JsonReader jsonReader)
Reads an instance of FirewallPolicyDraftInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
FirewallPolicyDraftInner.id()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:
FirewallPolicyDraftInner.name()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:
FirewallPolicyDraftInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
FirewallPolicyDraftInner.type()Returns:
validate
public void validate()
Validates the instance.
withBasePolicy
public FirewallPolicyDraftInner withBasePolicy(SubResource basePolicy)
Set the basePolicy property: The parent firewall policy from which rules are inherited.
Parameters:
Returns:
withDnsSettings
public FirewallPolicyDraftInner withDnsSettings(DnsSettings dnsSettings)
Set the dnsSettings property: DNS Proxy Settings definition.
Parameters:
Returns:
withExplicitProxy
public FirewallPolicyDraftInner withExplicitProxy(ExplicitProxy explicitProxy)
Set the explicitProxy property: Explicit Proxy Settings definition.
Parameters:
Returns:
withId
public FirewallPolicyDraftInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withInsights
public FirewallPolicyDraftInner withInsights(FirewallPolicyInsights insights)
Set the insights property: Insights on Firewall Policy.
Parameters:
Returns:
withIntrusionDetection
public FirewallPolicyDraftInner withIntrusionDetection(FirewallPolicyIntrusionDetection intrusionDetection)
Set the intrusionDetection property: The configuration for Intrusion detection.
Parameters:
Returns:
withLocation
public FirewallPolicyDraftInner withLocation(String location)
Overrides:
FirewallPolicyDraftInner.withLocation(String location)Parameters:
withSnat
public FirewallPolicyDraftInner withSnat(FirewallPolicySnat snat)
Set the snat property: The private IP addresses/IP ranges to which traffic will not be SNAT.
Parameters:
Returns:
withSql
public FirewallPolicyDraftInner withSql(FirewallPolicySql sql)
Set the sql property: SQL Settings definition.
Parameters:
Returns:
withTags
public FirewallPolicyDraftInner withTags(Map
Overrides:
FirewallPolicyDraftInner.withTags(Map<String,String> tags)Parameters:
withThreatIntelMode
public FirewallPolicyDraftInner withThreatIntelMode(AzureFirewallThreatIntelMode threatIntelMode)
Set the threatIntelMode property: The operation mode for Threat Intelligence.
Parameters:
Returns:
withThreatIntelWhitelist
public FirewallPolicyDraftInner withThreatIntelWhitelist(FirewallPolicyThreatIntelWhitelist threatIntelWhitelist)
Set the threatIntelWhitelist property: ThreatIntel Whitelist for Firewall Policy.
Parameters:
Returns:
Applies to
Azure SDK for Java