Class NetworkSecurityGroupResult
- java.lang.Object
-
- com.azure.resourcemanager.network.models.NetworkSecurityGroupResult
-
public final class NetworkSecurityGroupResult extends Object
Network configuration diagnostic result corresponded provided traffic query.
-
-
Constructor Summary
Constructors Constructor Description NetworkSecurityGroupResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<EvaluatedNetworkSecurityGroup>evaluatedNetworkSecurityGroups()Get the evaluatedNetworkSecurityGroups property: List of results network security groups diagnostic.SecurityRuleAccesssecurityRuleAccessResult()Get the securityRuleAccessResult property: The network traffic is allowed or denied.voidvalidate()Validates the instance.NetworkSecurityGroupResultwithSecurityRuleAccessResult(SecurityRuleAccess securityRuleAccessResult)Set the securityRuleAccessResult property: The network traffic is allowed or denied.
-
-
-
Method Detail
-
securityRuleAccessResult
public SecurityRuleAccess securityRuleAccessResult()
Get the securityRuleAccessResult property: The network traffic is allowed or denied.- Returns:
- the securityRuleAccessResult value.
-
withSecurityRuleAccessResult
public NetworkSecurityGroupResult withSecurityRuleAccessResult(SecurityRuleAccess securityRuleAccessResult)
Set the securityRuleAccessResult property: The network traffic is allowed or denied.- Parameters:
securityRuleAccessResult- the securityRuleAccessResult value to set.- Returns:
- the NetworkSecurityGroupResult object itself.
-
evaluatedNetworkSecurityGroups
public List<EvaluatedNetworkSecurityGroup> evaluatedNetworkSecurityGroups()
Get the evaluatedNetworkSecurityGroups property: List of results network security groups diagnostic.- Returns:
- the evaluatedNetworkSecurityGroups value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-