EvaluatedNetworkSecurityGroup Class

  • java.lang.Object
    • com.microsoft.azure.management.network.EvaluatedNetworkSecurityGroup

public class EvaluatedNetworkSecurityGroup

Results of network security group evaluation.

Constructor Summary

Constructor Description
EvaluatedNetworkSecurityGroup()

Method Summary

Modifier and Type Method and Description
java.lang.String appliedTo()

Get resource ID of nic or subnet to which network security group is applied.

MatchedRule matchedRule()

Get matched network security rule.

java.lang.String networkSecurityGroupId()

Get network security group ID.

java.util.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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

EvaluatedNetworkSecurityGroup

public EvaluatedNetworkSecurityGroup()

Method Details

appliedTo

public String appliedTo()

Get resource ID of nic or subnet to which network security group is applied.

Returns:

the appliedTo value

matchedRule

public MatchedRule matchedRule()

Get matched network security rule.

Returns:

the matchedRule value

networkSecurityGroupId

public String networkSecurityGroupId()

Get network security group ID.

Returns:

the networkSecurityGroupId value

rulesEvaluationResult

public List rulesEvaluationResult()

Get list of network security rules evaluation results.

Returns:

the rulesEvaluationResult value

withAppliedTo

public EvaluatedNetworkSecurityGroup withAppliedTo(String appliedTo)

Set 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.

withMatchedRule

public EvaluatedNetworkSecurityGroup withMatchedRule(MatchedRule matchedRule)

Set matched network security rule.

Parameters:

matchedRule - the matchedRule value to set

Returns:

the EvaluatedNetworkSecurityGroup object itself.

withNetworkSecurityGroupId

public EvaluatedNetworkSecurityGroup withNetworkSecurityGroupId(String networkSecurityGroupId)

Set network security group ID.

Parameters:

networkSecurityGroupId - the networkSecurityGroupId value to set

Returns:

the EvaluatedNetworkSecurityGroup object itself.

Applies to