Class MatchedRule
java.lang.Object
com.microsoft.azure.management.network.MatchedRule
Matched rule.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction()
Get the network traffic is allowed or denied.ruleName()
Get name of the matched network security rule.withAction
(String action) Set the network traffic is allowed or denied.withRuleName
(String ruleName) Set name of the matched network security rule.
-
Constructor Details
-
MatchedRule
public MatchedRule()
-
-
Method Details
-
ruleName
Get name of the matched network security rule.- Returns:
- the ruleName value
-
withRuleName
Set name of the matched network security rule.- Parameters:
ruleName
- the ruleName value to set- Returns:
- the MatchedRule object itself.
-
action
Get the network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'.- Returns:
- the action value
-
withAction
Set the network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'.- Parameters:
action
- the action value to set- Returns:
- the MatchedRule object itself.
-