ArmNetworkModelFactory.AzureFirewallPacketCaptureRule Method

Definition

public static Azure.ResourceManager.Network.Models.AzureFirewallPacketCaptureRule AzureFirewallPacketCaptureRule(System.Collections.Generic.IEnumerable<string> sources = default, System.Collections.Generic.IEnumerable<string> destinations = default, System.Collections.Generic.IEnumerable<string> destinationPorts = default);
static member AzureFirewallPacketCaptureRule : seq<string> * seq<string> * seq<string> -> Azure.ResourceManager.Network.Models.AzureFirewallPacketCaptureRule
Public Shared Function AzureFirewallPacketCaptureRule (Optional sources As IEnumerable(Of String) = Nothing, Optional destinations As IEnumerable(Of String) = Nothing, Optional destinationPorts As IEnumerable(Of String) = Nothing) As AzureFirewallPacketCaptureRule

Parameters

sources
IEnumerable<String>

List of source IP addresses/subnets to be captured.

destinations
IEnumerable<String>

List of destination IP addresses/subnets to be captured.

destinationPorts
IEnumerable<String>

List of ports to be captured.

Returns

A new AzureFirewallPacketCaptureRule instance for mocking.

Applies to