Class EffectiveNetworkSecurityGroup
java.lang.Object
com.azure.resourcemanager.network.models.EffectiveNetworkSecurityGroup
Effective network security group.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of EffectiveNetworkSecurityGroup class. -
Method Summary
Modifier and TypeMethodDescriptionGet the association property: Associated resources.Get the effectiveSecurityRules property: A collection of effective security rules.com.azure.core.management.SubResourceGet the networkSecurityGroup property: The ID of network security group that is applied.tagMap()Get the tagMap property: Mapping of tags to list of IP Addresses included within the tag.voidvalidate()Validates the instance.withAssociation(EffectiveNetworkSecurityGroupAssociation association) Set the association property: Associated resources.withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules) Set the effectiveSecurityRules property: A collection of effective security rules.withNetworkSecurityGroup(com.azure.core.management.SubResource networkSecurityGroup) Set the networkSecurityGroup property: The ID of network security group that is applied.withTagMap(String tagMap) Set the tagMap property: Mapping of tags to list of IP Addresses included within the tag.
-
Constructor Details
-
EffectiveNetworkSecurityGroup
public EffectiveNetworkSecurityGroup()Creates an instance of EffectiveNetworkSecurityGroup class.
-
-
Method Details
-
networkSecurityGroup
public com.azure.core.management.SubResource networkSecurityGroup()Get the networkSecurityGroup property: The ID of network security group that is applied.- Returns:
- the networkSecurityGroup value.
-
withNetworkSecurityGroup
public EffectiveNetworkSecurityGroup withNetworkSecurityGroup(com.azure.core.management.SubResource networkSecurityGroup) Set the networkSecurityGroup property: The ID of network security group that is applied.- Parameters:
networkSecurityGroup- the networkSecurityGroup value to set.- Returns:
- the EffectiveNetworkSecurityGroup object itself.
-
association
Get the association property: Associated resources.- Returns:
- the association value.
-
withAssociation
public EffectiveNetworkSecurityGroup withAssociation(EffectiveNetworkSecurityGroupAssociation association) Set the association property: Associated resources.- Parameters:
association- the association value to set.- Returns:
- the EffectiveNetworkSecurityGroup object itself.
-
effectiveSecurityRules
Get the effectiveSecurityRules property: A collection of effective security rules.- Returns:
- the effectiveSecurityRules value.
-
withEffectiveSecurityRules
public EffectiveNetworkSecurityGroup withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules) Set the effectiveSecurityRules property: A collection of effective security rules.- Parameters:
effectiveSecurityRules- the effectiveSecurityRules value to set.- Returns:
- the EffectiveNetworkSecurityGroup object itself.
-
tagMap
Get the tagMap property: Mapping of tags to list of IP Addresses included within the tag.- Returns:
- the tagMap value.
-
withTagMap
Set the tagMap property: Mapping of tags to list of IP Addresses included within the tag.- Parameters:
tagMap- the tagMap value to set.- Returns:
- the EffectiveNetworkSecurityGroup object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-