Class TrafficSelectorPolicy

java.lang.Object
com.microsoft.azure.management.network.TrafficSelectorPolicy

public class TrafficSelectorPolicy extends Object
An traffic selector policy for a virtual network gateway connection.
  • Constructor Details

    • TrafficSelectorPolicy

      public TrafficSelectorPolicy()
  • Method Details

    • localAddressRanges

      public List<String> localAddressRanges()
      Get a collection of local address spaces in CIDR format.
      Returns:
      the localAddressRanges value
    • withLocalAddressRanges

      public TrafficSelectorPolicy withLocalAddressRanges(List<String> localAddressRanges)
      Set a collection of local address spaces in CIDR format.
      Parameters:
      localAddressRanges - the localAddressRanges value to set
      Returns:
      the TrafficSelectorPolicy object itself.
    • remoteAddressRanges

      public List<String> remoteAddressRanges()
      Get a collection of remote address spaces in CIDR format.
      Returns:
      the remoteAddressRanges value
    • withRemoteAddressRanges

      public TrafficSelectorPolicy withRemoteAddressRanges(List<String> remoteAddressRanges)
      Set a collection of remote address spaces in CIDR format.
      Parameters:
      remoteAddressRanges - the remoteAddressRanges value to set
      Returns:
      the TrafficSelectorPolicy object itself.