public final class EvaluatedNetworkSecurityGroup extends Object
| Constructor and Description |
|---|
EvaluatedNetworkSecurityGroup() |
| Modifier and Type | Method and Description |
|---|---|
String |
appliedTo()
Get the appliedTo property: Resource ID of nic or subnet to which network security group is applied.
|
MatchedRule |
matchedRule()
Get the matchedRule property: Matched network security rule.
|
String |
networkSecurityGroupId()
Get the networkSecurityGroupId property: Network security group ID.
|
List<NetworkSecurityRulesEvaluationResult> |
rulesEvaluationResult()
Get the rulesEvaluationResult property: List of network security rules evaluation results.
|
void |
validate()
Validates the instance.
|
EvaluatedNetworkSecurityGroup |
withAppliedTo(String appliedTo)
Set the appliedTo property: Resource ID of nic or subnet to which network security group is applied.
|
EvaluatedNetworkSecurityGroup |
withMatchedRule(MatchedRule matchedRule)
Set the matchedRule property: Matched network security rule.
|
EvaluatedNetworkSecurityGroup |
withNetworkSecurityGroupId(String networkSecurityGroupId)
Set the networkSecurityGroupId property: Network security group ID.
|
public String networkSecurityGroupId()
public EvaluatedNetworkSecurityGroup withNetworkSecurityGroupId(String networkSecurityGroupId)
networkSecurityGroupId - the networkSecurityGroupId value to set.public String appliedTo()
public EvaluatedNetworkSecurityGroup withAppliedTo(String appliedTo)
appliedTo - the appliedTo value to set.public MatchedRule matchedRule()
public EvaluatedNetworkSecurityGroup withMatchedRule(MatchedRule matchedRule)
matchedRule - the matchedRule value to set.public List<NetworkSecurityRulesEvaluationResult> rulesEvaluationResult()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.