NetworkSecurityGroupResult Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.NetworkSecurityGroupResult

Implements

public final class NetworkSecurityGroupResult
implements JsonSerializable<NetworkSecurityGroupResult>

Network configuration diagnostic result corresponded provided traffic query.

Constructor Summary

Constructor Description
NetworkSecurityGroupResult()

Creates an instance of NetworkSecurityGroupResult class.

Method Summary

Modifier and Type Method and Description
List<EvaluatedNetworkSecurityGroup> evaluatedNetworkSecurityGroups()

Get the evaluatedNetworkSecurityGroups property: List of results network security groups diagnostic.

static NetworkSecurityGroupResult fromJson(JsonReader jsonReader)

Reads an instance of NetworkSecurityGroupResult from the JsonReader.

SecurityRuleAccess securityRuleAccessResult()

Get the securityRuleAccessResult property: The network traffic is allowed or denied.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkSecurityGroupResult withSecurityRuleAccessResult(SecurityRuleAccess securityRuleAccessResult)

Set the securityRuleAccessResult property: The network traffic is allowed or denied.

Methods inherited from java.lang.Object

Constructor Details

NetworkSecurityGroupResult

public NetworkSecurityGroupResult()

Creates an instance of NetworkSecurityGroupResult class.

Method Details

evaluatedNetworkSecurityGroups

public List evaluatedNetworkSecurityGroups()

Get the evaluatedNetworkSecurityGroups property: List of results network security groups diagnostic.

Returns:

the evaluatedNetworkSecurityGroups value.

fromJson

public static NetworkSecurityGroupResult fromJson(JsonReader jsonReader)

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.

securityRuleAccessResult

public SecurityRuleAccess securityRuleAccessResult()

Get the securityRuleAccessResult property: The network traffic is allowed or denied.

Returns:

the securityRuleAccessResult value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

Applies to