Class EffectiveNetworkSecurityGroup


  • public final class EffectiveNetworkSecurityGroup
    extends Object
    Effective network security group.
    • Constructor Detail

      • EffectiveNetworkSecurityGroup

        public EffectiveNetworkSecurityGroup()
    • 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.
      • 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.