FirewallPacketCaptureParameters Class

Azure Firewall Packet Capture Parameters.

Constructor

FirewallPacketCaptureParameters(*args: Any, **kwargs: Any)

Variables

Name Description
duration_in_seconds
int

Duration of packet capture in seconds. If the field is not provided, the default value is 60.

number_of_packets_to_capture
int

Number of packets to be captured. If the field is not provided, the default value is 1000.

sas_url
str

Upload capture location.

file_name
str

Name of file to be uploaded to sasURL.

protocol

The protocol of packets to capture. Known values are: "TCP", "UDP", "Any", and "ICMP".

flags

The tcp-flag type to be captured. Used with protocol TCP.

filters

Rules to filter packet captures.

operation

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. Known values are: "Start", "Status", and "Stop".

Attributes

duration_in_seconds

Duration of packet capture in seconds. If the field is not provided, the default value is 60.

duration_in_seconds: int | None

file_name

Name of file to be uploaded to sasURL.

file_name: str | None

filters

Rules to filter packet captures.

filters: list['_models.AzureFirewallPacketCaptureRule'] | None

flags

The tcp-flag type to be captured. Used with protocol TCP.

flags: list['_models.AzureFirewallPacketCaptureFlags'] | None

number_of_packets_to_capture

Number of packets to be captured. If the field is not provided, the default value is 1000.

number_of_packets_to_capture: int | None

operation

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. Known values are: "Start", "Status", and "Stop".

operation: str | _models.AzureFirewallPacketCaptureOperationType | None

protocol

"TCP", "UDP", "Any", and "ICMP".

protocol: str | _models.AzureFirewallNetworkRuleProtocol | None

sas_url

Upload capture location.

sas_url: str | None