public class EvaluatedNetworkSecurityGroup extends Object
| Constructor and Description |
|---|
EvaluatedNetworkSecurityGroup() |
| Modifier and Type | Method and Description |
|---|---|
String |
appliedTo()
Get resource ID of nic or subnet to which network security group is applied.
|
MatchedRule |
matchedRule()
Get matched network security rule.
|
String |
networkSecurityGroupId()
Get network security group ID.
|
List<NetworkSecurityRulesEvaluationResult> |
rulesEvaluationResult()
Get list of network security rules evaluation results.
|
EvaluatedNetworkSecurityGroup |
withAppliedTo(String appliedTo)
Set resource ID of nic or subnet to which network security group is applied.
|
EvaluatedNetworkSecurityGroup |
withMatchedRule(MatchedRule matchedRule)
Set matched network security rule.
|
EvaluatedNetworkSecurityGroup |
withNetworkSecurityGroupId(String networkSecurityGroupId)
Set network security group ID.
|
public String networkSecurityGroupId()
public EvaluatedNetworkSecurityGroup withNetworkSecurityGroupId(String networkSecurityGroupId)
networkSecurityGroupId - the networkSecurityGroupId value to setpublic String appliedTo()
public EvaluatedNetworkSecurityGroup withAppliedTo(String appliedTo)
appliedTo - the appliedTo value to setpublic MatchedRule matchedRule()
public EvaluatedNetworkSecurityGroup withMatchedRule(MatchedRule matchedRule)
matchedRule - the matchedRule value to setpublic List<NetworkSecurityRulesEvaluationResult> rulesEvaluationResult()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/