TrafficSelectorPolicy(IEnumerable<String>, IEnumerable<String>) Constructor

Definition

Initializes a new instance of TrafficSelectorPolicy.

public TrafficSelectorPolicy (System.Collections.Generic.IEnumerable<string> localAddressRanges, System.Collections.Generic.IEnumerable<string> remoteAddressRanges);
new Azure.ResourceManager.Network.Models.TrafficSelectorPolicy : seq<string> * seq<string> -> Azure.ResourceManager.Network.Models.TrafficSelectorPolicy
Public Sub New (localAddressRanges As IEnumerable(Of String), remoteAddressRanges As IEnumerable(Of String))

Parameters

localAddressRanges
System.Collections.Generic.IEnumerable<System.String>

A collection of local address spaces in CIDR format.

remoteAddressRanges
System.Collections.Generic.IEnumerable<System.String>

A collection of remote address spaces in CIDR format.

Exceptions

System.ArgumentNullException

localAddressRanges or remoteAddressRanges is null.

Applies to