ArmNetworkModelFactory.TrafficSelectorPolicy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Network.Models.TrafficSelectorPolicy TrafficSelectorPolicy(System.Collections.Generic.IEnumerable<string> localAddressRanges = default, System.Collections.Generic.IEnumerable<string> remoteAddressRanges = default);
static member TrafficSelectorPolicy : seq<string> * seq<string> -> Azure.ResourceManager.Network.Models.TrafficSelectorPolicy
Public Shared Function TrafficSelectorPolicy (Optional localAddressRanges As IEnumerable(Of String) = Nothing, Optional remoteAddressRanges As IEnumerable(Of String) = Nothing) As TrafficSelectorPolicy
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.
Returns
A new TrafficSelectorPolicy instance for mocking.