EvaluatedNetworkSecurityGroup Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. EvaluatedNetworkSecurityGroup
- com.
Implements
public final class EvaluatedNetworkSecurityGroup
implements JsonSerializable<EvaluatedNetworkSecurityGroup>
Results of network security group evaluation.
Constructor Summary
Constructor | Description |
---|---|
EvaluatedNetworkSecurityGroup() |
Creates an instance of Evaluated |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
appliedTo()
Get the applied |
static
Evaluated |
fromJson(JsonReader jsonReader)
Reads an instance of Evaluated |
Matched |
matchedRule()
Get the matched |
String |
networkSecurityGroupId()
Get the network |
List<Network |
rulesEvaluationResult()
Get the rules |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Evaluated |
withAppliedTo(String appliedTo)
Set the applied |
Evaluated |
withMatchedRule(MatchedRule matchedRule)
Set the matched |
Evaluated |
withNetworkSecurityGroupId(String networkSecurityGroupId)
Set the network |
Methods inherited from java.lang.Object
Constructor Details
EvaluatedNetworkSecurityGroup
public EvaluatedNetworkSecurityGroup()
Creates an instance of EvaluatedNetworkSecurityGroup class.
Method Details
appliedTo
public String appliedTo()
Get the appliedTo property: Resource ID of nic or subnet to which network security group is applied.
Returns:
fromJson
public static EvaluatedNetworkSecurityGroup fromJson(JsonReader jsonReader)
Reads an instance of EvaluatedNetworkSecurityGroup from the JsonReader.
Parameters:
Returns:
Throws:
matchedRule
public MatchedRule matchedRule()
Get the matchedRule property: Matched network security rule.
Returns:
networkSecurityGroupId
public String networkSecurityGroupId()
Get the networkSecurityGroupId property: Network security group ID.
Returns:
rulesEvaluationResult
public List
Get the rulesEvaluationResult property: List of network security rules evaluation results.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAppliedTo
public EvaluatedNetworkSecurityGroup withAppliedTo(String appliedTo)
Set the appliedTo property: Resource ID of nic or subnet to which network security group is applied.
Parameters:
Returns:
withMatchedRule
public EvaluatedNetworkSecurityGroup withMatchedRule(MatchedRule matchedRule)
Set the matchedRule property: Matched network security rule.
Parameters:
Returns:
withNetworkSecurityGroupId
public EvaluatedNetworkSecurityGroup withNetworkSecurityGroupId(String networkSecurityGroupId)
Set the networkSecurityGroupId property: Network security group ID.
Parameters:
Returns:
Applies to
Azure SDK for Java