Class EffectiveNetworkSecurityGroup
java.lang.Object
com.microsoft.azure.management.network.EffectiveNetworkSecurityGroup
Effective network security group.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet associated resources.Get a collection of effective security rules.com.microsoft.azure.SubResourceGet the ID of network security group that is applied.tagMap()Get mapping of tags to list of IP Addresses included within the tag.withAssociation(EffectiveNetworkSecurityGroupAssociation association) Set associated resources.withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules) Set a collection of effective security rules.withNetworkSecurityGroup(com.microsoft.azure.SubResource networkSecurityGroup) Set the ID of network security group that is applied.withTagMap(Map<String, List<String>> tagMap) Set mapping of tags to list of IP Addresses included within the tag.
-
Constructor Details
-
EffectiveNetworkSecurityGroup
public EffectiveNetworkSecurityGroup()
-
-
Method Details
-
networkSecurityGroup
public com.microsoft.azure.SubResource networkSecurityGroup()Get the ID of network security group that is applied.- Returns:
- the networkSecurityGroup value
-
withNetworkSecurityGroup
public EffectiveNetworkSecurityGroup withNetworkSecurityGroup(com.microsoft.azure.SubResource networkSecurityGroup) Set the ID of network security group that is applied.- Parameters:
networkSecurityGroup- the networkSecurityGroup value to set- Returns:
- the EffectiveNetworkSecurityGroup object itself.
-
association
Get associated resources.- Returns:
- the association value
-
withAssociation
public EffectiveNetworkSecurityGroup withAssociation(EffectiveNetworkSecurityGroupAssociation association) Set associated resources.- Parameters:
association- the association value to set- Returns:
- the EffectiveNetworkSecurityGroup object itself.
-
effectiveSecurityRules
Get a collection of effective security rules.- Returns:
- the effectiveSecurityRules value
-
withEffectiveSecurityRules
public EffectiveNetworkSecurityGroup withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules) Set a collection of effective security rules.- Parameters:
effectiveSecurityRules- the effectiveSecurityRules value to set- Returns:
- the EffectiveNetworkSecurityGroup object itself.
-
tagMap
Get mapping of tags to list of IP Addresses included within the tag.- Returns:
- the tagMap value
-
withTagMap
Set mapping of tags to list of IP Addresses included within the tag.- Parameters:
tagMap- the tagMap value to set- Returns:
- the EffectiveNetworkSecurityGroup object itself.
-