Share via


TrafficSelectorPolicy 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
IEnumerable<String>

A collection of local address spaces in CIDR format.

remoteAddressRanges
IEnumerable<String>

A collection of remote address spaces in CIDR format.

Exceptions

localAddressRanges or remoteAddressRanges is null.

Applies to