Class ApplicationRuleCondition
java.lang.Object
com.microsoft.azure.management.network.FirewallPolicyRuleCondition
com.microsoft.azure.management.network.ApplicationRuleCondition
Rule condition of type application.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet list of destination IP addresses or Service Tags.fqdnTags()
Get list of FQDN Tags for this rule condition.Get array of Application Protocols.Get list of source IP addresses for this rule.Get list of FQDNs for this rule condition.withDestinationAddresses
(List<String> destinationAddresses) Set list of destination IP addresses or Service Tags.withFqdnTags
(List<String> fqdnTags) Set list of FQDN Tags for this rule condition.Set array of Application Protocols.withSourceAddresses
(List<String> sourceAddresses) Set list of source IP addresses for this rule.withTargetFqdns
(List<String> targetFqdns) Set list of FQDNs for this rule condition.Methods inherited from class com.microsoft.azure.management.network.FirewallPolicyRuleCondition
description, name, withDescription, withName
-
Constructor Details
-
ApplicationRuleCondition
public ApplicationRuleCondition()
-
-
Method Details
-
sourceAddresses
Get list of source IP addresses for this rule.- Returns:
- the sourceAddresses value
-
withSourceAddresses
Set list of source IP addresses for this rule.- Parameters:
sourceAddresses
- the sourceAddresses value to set- Returns:
- the ApplicationRuleCondition object itself.
-
destinationAddresses
Get list of destination IP addresses or Service Tags.- Returns:
- the destinationAddresses value
-
withDestinationAddresses
Set list of destination IP addresses or Service Tags.- Parameters:
destinationAddresses
- the destinationAddresses value to set- Returns:
- the ApplicationRuleCondition object itself.
-
protocols
Get array of Application Protocols.- Returns:
- the protocols value
-
withProtocols
public ApplicationRuleCondition withProtocols(List<FirewallPolicyRuleConditionApplicationProtocol> protocols) Set array of Application Protocols.- Parameters:
protocols
- the protocols value to set- Returns:
- the ApplicationRuleCondition object itself.
-
targetFqdns
Get list of FQDNs for this rule condition.- Returns:
- the targetFqdns value
-
withTargetFqdns
Set list of FQDNs for this rule condition.- Parameters:
targetFqdns
- the targetFqdns value to set- Returns:
- the ApplicationRuleCondition object itself.
-
fqdnTags
Get list of FQDN Tags for this rule condition.- Returns:
- the fqdnTags value
-
withFqdnTags
Set list of FQDN Tags for this rule condition.- Parameters:
fqdnTags
- the fqdnTags value to set- Returns:
- the ApplicationRuleCondition object itself.
-