Class NetworkSecurityGroupResult
java.lang.Object
com.azure.resourcemanager.network.models.NetworkSecurityGroupResult
- All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkSecurityGroupResult>
public final class NetworkSecurityGroupResult
extends Object
implements com.azure.json.JsonSerializable<NetworkSecurityGroupResult>
Network configuration diagnostic result corresponded provided traffic query.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkSecurityGroupResult class. -
Method Summary
Modifier and TypeMethodDescriptionGet the evaluatedNetworkSecurityGroups property: List of results network security groups diagnostic.static NetworkSecurityGroupResultfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkSecurityGroupResult from the JsonReader.Get the securityRuleAccessResult property: The network traffic is allowed or denied.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withSecurityRuleAccessResult(SecurityRuleAccess securityRuleAccessResult) Set the securityRuleAccessResult property: The network traffic is allowed or denied.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
NetworkSecurityGroupResult
public NetworkSecurityGroupResult()Creates an instance of NetworkSecurityGroupResult class.
-
-
Method Details
-
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
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<NetworkSecurityGroupResult>- Throws:
IOException
-
fromJson
public static NetworkSecurityGroupResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of NetworkSecurityGroupResult from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of NetworkSecurityGroupResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the NetworkSecurityGroupResult.
-