ArmNetworkModelFactory.FirewallPacketCaptureContent 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.FirewallPacketCaptureContent FirewallPacketCaptureContent(Azure.Core.ResourceIdentifier id = default, int? durationInSeconds = default, int? numberOfPacketsToCapture = default, Uri sasUri = default, string fileName = default, Azure.ResourceManager.Network.Models.AzureFirewallNetworkRuleProtocol? protocol = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.AzureFirewallPacketCaptureFlags> flags = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.AzureFirewallPacketCaptureRule> filters = default, Azure.ResourceManager.Network.Models.AzureFirewallPacketCaptureOperationType? operation = default);
static member FirewallPacketCaptureContent : Azure.Core.ResourceIdentifier * Nullable<int> * Nullable<int> * Uri * string * Nullable<Azure.ResourceManager.Network.Models.AzureFirewallNetworkRuleProtocol> * seq<Azure.ResourceManager.Network.Models.AzureFirewallPacketCaptureFlags> * seq<Azure.ResourceManager.Network.Models.AzureFirewallPacketCaptureRule> * Nullable<Azure.ResourceManager.Network.Models.AzureFirewallPacketCaptureOperationType> -> Azure.ResourceManager.Network.Models.FirewallPacketCaptureContent
Public Shared Function FirewallPacketCaptureContent (Optional id As ResourceIdentifier = Nothing, Optional durationInSeconds As Nullable(Of Integer) = Nothing, Optional numberOfPacketsToCapture As Nullable(Of Integer) = Nothing, Optional sasUri As Uri = Nothing, Optional fileName As String = Nothing, Optional protocol As Nullable(Of AzureFirewallNetworkRuleProtocol) = Nothing, Optional flags As IEnumerable(Of AzureFirewallPacketCaptureFlags) = Nothing, Optional filters As IEnumerable(Of AzureFirewallPacketCaptureRule) = Nothing, Optional operation As Nullable(Of AzureFirewallPacketCaptureOperationType) = Nothing) As FirewallPacketCaptureContent
Parameters
Resource ID.
Duration of packet capture in seconds. If the field is not provided, the default value is 60.
Number of packets to be captured. If the field is not provided, the default value is 1000.
- sasUri
- Uri
Upload capture location.
- fileName
- String
Name of file to be uploaded to sasURL.
- protocol
- Nullable<AzureFirewallNetworkRuleProtocol>
The protocol of packets to capture.
The tcp-flag type to be captured. Used with protocol TCP.
Rules to filter packet captures.
- operation
- Nullable<AzureFirewallPacketCaptureOperationType>
The packet capture operation to perform. If the Start operation is selected, please provide all the fields in the firewallPacketCaptureParameters to successfully initiate the packet capture. If the Status or Stop operation is selected, only the operation field is required; all other fields in the firewallPacketCaptureParameters can be omitted to successfully retrieve the capture status or stop the capture.
Returns
A new Azure.ResourceManager.Network.Models.FirewallPacketCaptureContent instance for mocking.