EffectiveNetworkSecurityGroup Class

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

Implements

public final class EffectiveNetworkSecurityGroup
implements JsonSerializable<EffectiveNetworkSecurityGroup>

Effective network security group.

Method Summary

Modifier and Type Method and Description
EffectiveNetworkSecurityGroupAssociation association()

Get the association property: Associated resources.

List<EffectiveNetworkSecurityRule> effectiveSecurityRules()

Get the effectiveSecurityRules property: A collection of effective security rules.

static EffectiveNetworkSecurityGroup fromJson(JsonReader jsonReader)

Reads an instance of EffectiveNetworkSecurityGroup from the JsonReader.

SubResource networkSecurityGroup()

Get the networkSecurityGroup property: The ID of network security group that is applied.

Map<String,List<String>> tagMap()

Get the tagMap property: Mapping of tags to list of IP Addresses included within the tag.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

association

public EffectiveNetworkSecurityGroupAssociation association()

Get the association property: Associated resources.

Returns:

the association value.

effectiveSecurityRules

public List<EffectiveNetworkSecurityRule> effectiveSecurityRules()

Get the effectiveSecurityRules property: A collection of effective security rules.

Returns:

the effectiveSecurityRules value.

fromJson

public static EffectiveNetworkSecurityGroup fromJson(JsonReader jsonReader)

Reads an instance of EffectiveNetworkSecurityGroup from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of EffectiveNetworkSecurityGroup 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 EffectiveNetworkSecurityGroup.

networkSecurityGroup

public SubResource networkSecurityGroup()

Get the networkSecurityGroup property: The ID of network security group that is applied.

Returns:

the networkSecurityGroup value.

tagMap

public Map<String,List<String>> tagMap()

Get the tagMap property: Mapping of tags to list of IP Addresses included within the tag.

Returns:

the tagMap value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to