Interface NetworkSecurityGroup

All Superinterfaces:
GroupableResource<NetworkManager,NetworkSecurityGroupInner>, HasAssociatedSubnets, HasId, HasInnerModel<NetworkSecurityGroupInner>, HasManager<NetworkManager>, HasName, HasResourceGroup, Indexable, Refreshable<NetworkSecurityGroup>, Resource, Updatable<NetworkSecurityGroup.Update>, UpdatableWithTags<NetworkSecurityGroup>

Network security group.
  • Method Details

    • securityRules

      Map<String,NetworkSecurityRule> securityRules()
      Gets security rules associated with this network security group.
      Returns:
      security rules associated with this network security group, indexed by their names
    • defaultSecurityRules

      Map<String,NetworkSecurityRule> defaultSecurityRules()
      Gets default security rules associated with this network security group.
      Returns:
      default security rules associated with this network security group, indexed by their name
    • networkInterfaceIds

      Set<String> networkInterfaceIds()
      Gets the IDs of the network interfaces associated with this network security group.
      Returns:
      the IDs of the network interfaces associated with this network security group