Sdílet prostřednictvím


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);
new Azure.ResourceManager.Network.Models.NetworkVerifierIPTraffic : seq<string> * seq<string> * seq<string> * seq<string> * seq<Azure.ResourceManager.Network.Models.NetworkProtocol> -> Azure.ResourceManager.Network.Models.NetworkVerifierIPTraffic
Public Sub New (sourceIPs As IEnumerable(Of String), destinationIPs As IEnumerable(Of String), sourcePorts As IEnumerable(Of String), destinationPorts As IEnumerable(Of String), protocols As IEnumerable(Of NetworkProtocol))

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