AzureFirewallApplicationRule Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. AzureFirewallApplicationRule
- com.
Implements
public final class AzureFirewallApplicationRule
implements JsonSerializable<AzureFirewallApplicationRule>
Properties of an application rule.
Constructor Summary
Constructor | Description |
---|---|
AzureFirewallApplicationRule() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: Description of the rule. |
List<String> |
fqdnTags()
Get the fqdn |
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
String |
name()
Get the name property: Name of the application rule. |
List<Azure |
protocols()
Get the protocols property: Array of Application |
List<String> |
sourceAddresses()
Get the source |
List<String> |
sourceIpGroups()
Get the source |
List<String> |
targetFqdns()
Get the target |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Azure |
withDescription(String description)
Set the description property: Description of the rule. |
Azure |
withFqdnTags(List<String> fqdnTags)
Set the fqdn |
Azure |
withName(String name)
Set the name property: Name of the application rule. |
Azure |
withProtocols(List<AzureFirewallApplicationRuleProtocol> protocols)
Set the protocols property: Array of Application |
Azure |
withSourceAddresses(List<String> sourceAddresses)
Set the source |
Azure |
withSourceIpGroups(List<String> sourceIpGroups)
Set the source |
Azure |
withTargetFqdns(List<String> targetFqdns)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
AzureFirewallApplicationRule
public AzureFirewallApplicationRule()
Creates an instance of AzureFirewallApplicationRule class.
Method Details
description
public String description()
Get the description property: Description of the rule.
Returns:
fqdnTags
public List
Get the fqdnTags property: List of FQDN Tags for this rule.
Returns:
fromJson
public static AzureFirewallApplicationRule fromJson(JsonReader jsonReader)
Reads an instance of AzureFirewallApplicationRule from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the application rule.
Returns:
protocols
public List
Get the protocols property: Array of ApplicationRuleProtocols.
Returns:
sourceAddresses
public List
Get the sourceAddresses property: List of source IP addresses for this rule.
Returns:
sourceIpGroups
public List
Get the sourceIpGroups property: List of source IpGroups for this rule.
Returns:
targetFqdns
public List
Get the targetFqdns property: List of FQDNs for this rule.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public AzureFirewallApplicationRule withDescription(String description)
Set the description property: Description of the rule.
Parameters:
Returns:
withFqdnTags
public AzureFirewallApplicationRule withFqdnTags(List
Set the fqdnTags property: List of FQDN Tags for this rule.
Parameters:
Returns:
withName
public AzureFirewallApplicationRule withName(String name)
Set the name property: Name of the application rule.
Parameters:
Returns:
withProtocols
public AzureFirewallApplicationRule withProtocols(List
Set the protocols property: Array of ApplicationRuleProtocols.
Parameters:
Returns:
withSourceAddresses
public AzureFirewallApplicationRule withSourceAddresses(List
Set the sourceAddresses property: List of source IP addresses for this rule.
Parameters:
Returns:
withSourceIpGroups
public AzureFirewallApplicationRule withSourceIpGroups(List
Set the sourceIpGroups property: List of source IpGroups for this rule.
Parameters:
Returns:
withTargetFqdns
public AzureFirewallApplicationRule withTargetFqdns(List
Set the targetFqdns property: List of FQDNs for this rule.
Parameters:
Returns:
Applies to
Azure SDK for Java