Interface NetworkSecurityRule.UpdateStages.WithSourcePort

    • Method Detail

      • fromPort

        NetworkSecurityRule.Update fromPort​(int port)
        Specifies the source port to which this rule applies.
        Parameters:
        port - the source port number
        Returns:
        the next stage of the definition
      • fromAnyPort

        NetworkSecurityRule.Update fromAnyPort()
        Makes this rule apply to any source port.
        Returns:
        the next stage of the definition
      • fromPortRange

        NetworkSecurityRule.Update fromPortRange​(int from,
                                                 int to)
        Specifies the source port range to which this rule applies.
        Parameters:
        from - the starting port number
        to - the ending port number
        Returns:
        the next stage of the definition
      • fromPortRanges

        NetworkSecurityRule.Update fromPortRanges​(String... ranges)
        Specifies the source port ranges to which this rule applies.
        Parameters:
        ranges - the starting port ranges
        Returns:
        the next stage of the definition