Share via


NetworkVerifierIPTraffic Constructor

Definition

Initializes a new instance of NetworkVerifierIPTraffic.

public NetworkVerifierIPTraffic(System.Collections.Generic.IEnumerable<string> sourceIPs, System.Collections.Generic.IEnumerable<string> destinationIPs, System.Collections.Generic.IEnumerable<string> sourcePorts, System.Collections.Generic.IEnumerable<string> destinationPorts, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkProtocol> protocols);

Parameters

sourceIPs
IEnumerable<String>

List of source IP addresses of the traffic..

destinationIPs
IEnumerable<String>

List of destination IP addresses of the traffic..

sourcePorts
IEnumerable<String>

The source ports of the traffic.

destinationPorts
IEnumerable<String>

The destination ports of the traffic.

Exceptions

sourceIPs, destinationIPs, sourcePorts, destinationPorts or protocols is null.

Applies to