ArmNetworkModelFactory.NetworkVerifierIPTraffic 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.NetworkVerifierIPTraffic NetworkVerifierIPTraffic(System.Collections.Generic.IEnumerable<string> sourceIps = default, System.Collections.Generic.IEnumerable<string> destinationIps = default, System.Collections.Generic.IEnumerable<string> sourcePorts = default, System.Collections.Generic.IEnumerable<string> destinationPorts = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkProtocol> protocols = default);
static member NetworkVerifierIPTraffic : seq<string> * seq<string> * seq<string> * seq<string> * seq<Azure.ResourceManager.Network.Models.NetworkProtocol> -> Azure.ResourceManager.Network.Models.NetworkVerifierIPTraffic
Public Shared Function NetworkVerifierIPTraffic (Optional sourceIps As IEnumerable(Of String) = Nothing, Optional destinationIps As IEnumerable(Of String) = Nothing, Optional sourcePorts As IEnumerable(Of String) = Nothing, Optional destinationPorts As IEnumerable(Of String) = Nothing, Optional protocols As IEnumerable(Of NetworkProtocol) = Nothing) As NetworkVerifierIPTraffic
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.
- protocols
- IEnumerable<NetworkProtocol>
Returns
A new NetworkVerifierIPTraffic instance for mocking.