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.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor