Class EffectiveNetworkSecurityGroup
- java.lang.Object
-
- com.azure.resourcemanager.network.models.EffectiveNetworkSecurityGroup
-
public final class EffectiveNetworkSecurityGroup extends Object
Effective network security group.
-
-
Constructor Summary
Constructors Constructor Description EffectiveNetworkSecurityGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EffectiveNetworkSecurityGroupAssociationassociation()Get the association property: Associated resources.List<EffectiveNetworkSecurityRule>effectiveSecurityRules()Get the effectiveSecurityRules property: A collection of effective security rules.com.azure.core.management.SubResourcenetworkSecurityGroup()Get the networkSecurityGroup property: The ID of network security group that is applied.StringtagMap()Get the tagMap property: Mapping of tags to list of IP Addresses included within the tag.voidvalidate()Validates the instance.EffectiveNetworkSecurityGroupwithAssociation(EffectiveNetworkSecurityGroupAssociation association)Set the association property: Associated resources.EffectiveNetworkSecurityGroupwithEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules)Set the effectiveSecurityRules property: A collection of effective security rules.EffectiveNetworkSecurityGroupwithNetworkSecurityGroup(com.azure.core.management.SubResource networkSecurityGroup)Set the networkSecurityGroup property: The ID of network security group that is applied.EffectiveNetworkSecurityGroupwithTagMap(String tagMap)Set the tagMap property: Mapping of tags to list of IP Addresses included within the tag.
-
-
-
Method Detail
-
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
public EffectiveNetworkSecurityGroupAssociation 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
public List<EffectiveNetworkSecurityRule> 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
public String tagMap()
Get the tagMap property: Mapping of tags to list of IP Addresses included within the tag.- Returns:
- the tagMap value.
-
withTagMap
public EffectiveNetworkSecurityGroup withTagMap(String tagMap)
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.
-
-