Class EvaluatedNetworkSecurityGroup
- java.lang.Object
-
- com.azure.resourcemanager.network.models.EvaluatedNetworkSecurityGroup
-
public final class EvaluatedNetworkSecurityGroup extends Object
Results of network security group evaluation.
-
-
Constructor Summary
Constructors Constructor Description EvaluatedNetworkSecurityGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringappliedTo()Get the appliedTo property: Resource ID of nic or subnet to which network security group is applied.MatchedRulematchedRule()Get the matchedRule property: Matched network security rule.StringnetworkSecurityGroupId()Get the networkSecurityGroupId property: Network security group ID.List<NetworkSecurityRulesEvaluationResult>rulesEvaluationResult()Get the rulesEvaluationResult property: List of network security rules evaluation results.voidvalidate()Validates the instance.EvaluatedNetworkSecurityGroupwithAppliedTo(String appliedTo)Set the appliedTo property: Resource ID of nic or subnet to which network security group is applied.EvaluatedNetworkSecurityGroupwithMatchedRule(MatchedRule matchedRule)Set the matchedRule property: Matched network security rule.EvaluatedNetworkSecurityGroupwithNetworkSecurityGroupId(String networkSecurityGroupId)Set the networkSecurityGroupId property: Network security group ID.
-
-
-
Method Detail
-
networkSecurityGroupId
public String networkSecurityGroupId()
Get the networkSecurityGroupId property: Network security group ID.- Returns:
- the networkSecurityGroupId value.
-
withNetworkSecurityGroupId
public EvaluatedNetworkSecurityGroup withNetworkSecurityGroupId(String networkSecurityGroupId)
Set the networkSecurityGroupId property: Network security group ID.- Parameters:
networkSecurityGroupId- the networkSecurityGroupId value to set.- Returns:
- the EvaluatedNetworkSecurityGroup object itself.
-
appliedTo
public String appliedTo()
Get the appliedTo property: Resource ID of nic or subnet to which network security group is applied.- Returns:
- the appliedTo value.
-
withAppliedTo
public EvaluatedNetworkSecurityGroup withAppliedTo(String appliedTo)
Set the appliedTo property: Resource ID of nic or subnet to which network security group is applied.- Parameters:
appliedTo- the appliedTo value to set.- Returns:
- the EvaluatedNetworkSecurityGroup object itself.
-
matchedRule
public MatchedRule matchedRule()
Get the matchedRule property: Matched network security rule.- Returns:
- the matchedRule value.
-
withMatchedRule
public EvaluatedNetworkSecurityGroup withMatchedRule(MatchedRule matchedRule)
Set the matchedRule property: Matched network security rule.- Parameters:
matchedRule- the matchedRule value to set.- Returns:
- the EvaluatedNetworkSecurityGroup object itself.
-
rulesEvaluationResult
public List<NetworkSecurityRulesEvaluationResult> rulesEvaluationResult()
Get the rulesEvaluationResult property: List of network security rules evaluation results.- Returns:
- the rulesEvaluationResult value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-