MatchedRule Class
- java.
lang. Object - com.
microsoft. azure. management. network. MatchedRule
- com.
public class MatchedRule
Matched rule.
Constructor Summary
Constructor | Description | |
---|---|---|
MatchedRule() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
action()
Get the network traffic is allowed or denied. |
java.lang.String |
ruleName()
Get name of the matched network security rule. |
Matched |
withAction(String action)
Set the network traffic is allowed or denied. |
Matched |
withRuleName(String ruleName)
Set name of the matched network security rule. |
Methods inherited from java.lang.Object
Constructor Details
MatchedRule
public MatchedRule()
Method Details
action
public String action()
Get the network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'.
Returns:
ruleName
public String ruleName()
Get name of the matched network security rule.
Returns:
withAction
public MatchedRule withAction(String action)
Set the network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'.
Parameters:
Returns:
withRuleName
public MatchedRule withRuleName(String ruleName)
Set name of the matched network security rule.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for