public final class ApplicationRule extends FirewallPolicyRule
| Constructor and Description |
|---|
ApplicationRule() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
destinationAddresses()
Get the destinationAddresses property: List of destination IP addresses or Service Tags.
|
List<String> |
fqdnTags()
Get the fqdnTags property: List of FQDN Tags for this rule.
|
List<FirewallPolicyRuleApplicationProtocol> |
protocols()
Get the protocols property: Array of Application Protocols.
|
List<String> |
sourceAddresses()
Get the sourceAddresses property: List of source IP addresses for this rule.
|
List<String> |
sourceIpGroups()
Get the sourceIpGroups property: List of source IpGroups for this rule.
|
List<String> |
targetFqdns()
Get the targetFqdns property: List of FQDNs for this rule.
|
List<String> |
targetUrls()
Get the targetUrls property: List of Urls for this rule condition.
|
Boolean |
terminateTls()
Get the terminateTls property: Terminate TLS connections for this rule.
|
void |
validate()
Validates the instance.
|
List<String> |
webCategories()
Get the webCategories property: List of destination azure web categories.
|
ApplicationRule |
withDescription(String description)
Set the description property: Description of the rule.
|
ApplicationRule |
withDestinationAddresses(List<String> destinationAddresses)
Set the destinationAddresses property: List of destination IP addresses or Service Tags.
|
ApplicationRule |
withFqdnTags(List<String> fqdnTags)
Set the fqdnTags property: List of FQDN Tags for this rule.
|
ApplicationRule |
withName(String name)
Set the name property: Name of the rule.
|
ApplicationRule |
withProtocols(List<FirewallPolicyRuleApplicationProtocol> protocols)
Set the protocols property: Array of Application Protocols.
|
ApplicationRule |
withSourceAddresses(List<String> sourceAddresses)
Set the sourceAddresses property: List of source IP addresses for this rule.
|
ApplicationRule |
withSourceIpGroups(List<String> sourceIpGroups)
Set the sourceIpGroups property: List of source IpGroups for this rule.
|
ApplicationRule |
withTargetFqdns(List<String> targetFqdns)
Set the targetFqdns property: List of FQDNs for this rule.
|
ApplicationRule |
withTargetUrls(List<String> targetUrls)
Set the targetUrls property: List of Urls for this rule condition.
|
ApplicationRule |
withTerminateTls(Boolean terminateTls)
Set the terminateTls property: Terminate TLS connections for this rule.
|
ApplicationRule |
withWebCategories(List<String> webCategories)
Set the webCategories property: List of destination azure web categories.
|
description, namepublic List<String> sourceAddresses()
public ApplicationRule withSourceAddresses(List<String> sourceAddresses)
sourceAddresses - the sourceAddresses value to set.public List<String> destinationAddresses()
public ApplicationRule withDestinationAddresses(List<String> destinationAddresses)
destinationAddresses - the destinationAddresses value to set.public List<FirewallPolicyRuleApplicationProtocol> protocols()
public ApplicationRule withProtocols(List<FirewallPolicyRuleApplicationProtocol> protocols)
protocols - the protocols value to set.public List<String> targetFqdns()
public ApplicationRule withTargetFqdns(List<String> targetFqdns)
targetFqdns - the targetFqdns value to set.public List<String> targetUrls()
public ApplicationRule withTargetUrls(List<String> targetUrls)
targetUrls - the targetUrls value to set.public List<String> fqdnTags()
public ApplicationRule withFqdnTags(List<String> fqdnTags)
fqdnTags - the fqdnTags value to set.public List<String> sourceIpGroups()
public ApplicationRule withSourceIpGroups(List<String> sourceIpGroups)
sourceIpGroups - the sourceIpGroups value to set.public Boolean terminateTls()
public ApplicationRule withTerminateTls(Boolean terminateTls)
terminateTls - the terminateTls value to set.public List<String> webCategories()
public ApplicationRule withWebCategories(List<String> webCategories)
webCategories - the webCategories value to set.public ApplicationRule withName(String name)
withName in class FirewallPolicyRulename - the name value to set.public ApplicationRule withDescription(String description)
withDescription in class FirewallPolicyRuledescription - the description value to set.public void validate()
validate in class FirewallPolicyRuleIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.